Skip to content

Commit

Permalink
Fix latest tag (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
floodcode authored Jul 2, 2024
1 parent 5221b48 commit 21886e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ runs:
context: ./docker/
file: ./docker/Dockerfile
push: ${{ inputs.push }}
tags: ${{ inputs.docker-base-repo }}:${{ inputs.docker-tag }},${{ inputs.docker-base-repo }}:${{ inputs.event_name == 'push' && 'latest' || 'latest-manual' }}
tags: ${{ inputs.docker-base-repo }}:${{ inputs.docker-tag }},${{ inputs.docker-base-repo }}:${{ inputs.event-name == 'push' && 'latest' || 'latest-manual' }}
platforms: ${{ inputs.docker-platform }}
build-args: |
ANON_VER=${{ inputs.version }}
ANON_ENV=${{ inputs.environment }}
ANON_ENV=${{ inputs.environment }}
6 changes: 3 additions & 3 deletions .github/actions/multiarch-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ runs:
${{ inputs.docker-base-repo }}-amd64:${{ inputs.docker-tag }} \
${{ inputs.docker-base-repo }}-arm64:${{ inputs.docker-tag }}
docker buildx imagetools create \
-t ${{ inputs.docker-base-repo }}:${{ inputs.event_name == 'push' && 'latest' || 'latest-manual' }} \
${{ inputs.docker-base-repo }}-amd64:${{ inputs.event_name == 'push' && 'latest' || 'latest-manual' }} \
${{ inputs.docker-base-repo }}-arm64:${{ inputs.event_name == 'push' && 'latest' || 'latest-manual' }}
-t ${{ inputs.docker-base-repo }}:${{ inputs.event-name == 'push' && 'latest' || 'latest-manual' }} \
${{ inputs.docker-base-repo }}-amd64:${{ inputs.event-name == 'push' && 'latest' || 'latest-manual' }} \
${{ inputs.docker-base-repo }}-arm64:${{ inputs.event-name == 'push' && 'latest' || 'latest-manual' }}

0 comments on commit 21886e9

Please sign in to comment.