Skip to content

Commit

Permalink
feat: alpine and slim images
Browse files Browse the repository at this point in the history
Signed-off-by: mbw <[email protected]>
  • Loading branch information
mbwhite committed Aug 21, 2024
1 parent 96e11b0 commit 6c0110b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
tags: ${{ steps.onviffmqtt.outputs.tags }}
labels: ${{ steps.onviffmqtt.outputs.labels }}

id: onviffmqtt
- name: Docker meta (alpine)
id: onviffmqtt-alpine
uses: docker/metadata-action@v3
with:
images: ghcr.io/ampretia/onviffmqtt
Expand All @@ -82,12 +83,12 @@ jobs:
type=semver,pattern={{major}}-alpine
type=sha
- name: build and push
- name: build and push (alpine)
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
build-args: VARIANT=alpine
tags: ${{ steps.onviffmqtt.outputs.tags }}
labels: ${{ steps.onviffmqtt.outputs.labels }}
tags: ${{ steps.onviffmqtt-alpine.outputs.tags }}
labels: ${{ steps.onviffmqtt-alpine.outputs.labels }}

0 comments on commit 6c0110b

Please sign in to comment.