Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
zsteinkamp committed Mar 26, 2024
1 parent 6f229c1 commit 3c1cd77
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
# Generate the default config (port 3333, admin=true)
- run: bin/gen-config

- name: Get short SHA
id: sha
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

# Uses the `docker/login-action` action to log in to the Container
# registry registry using the account and password that will publish the
# packages. Once published, the packages are scoped to the account
Expand Down Expand Up @@ -67,4 +63,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/zsteinkamp/${{ env.IMAGE_BASE }}-nginx:latest ${{ env.REGISTRY }}/zsteinkamp/${{ env.IMAGE_BASE }}-nginx:${{ steps.sha.outputs.sha_short }}
images: |
${{ env.REGISTRY }}/zsteinkamp/${{ env.IMAGE_BASE }}-nginx
tags: |
type=sha

0 comments on commit 3c1cd77

Please sign in to comment.