Skip to content

Commit

Permalink
Update Build Jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr committed Aug 22, 2024
1 parent 23bfe3b commit ca4d88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Set Git Short SHA
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
Expand All @@ -25,7 +23,6 @@ jobs:
with:
context: .
push: false
platforms: linux/amd64,linux/arm64
tags: ghcr.io/badges/shields:pr-validation
build-args: |
version=${{ env.SHORT_SHA }}
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -48,6 +50,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: shieldsio/shields:server-${{ steps.date.outputs.date }}
build-args: |
version=server-${{ steps.date.outputs.date }}
Expand Down

0 comments on commit ca4d88d

Please sign in to comment.