From 21886e935541cec4ffac7e888431d88a3d949f31 Mon Sep 17 00:00:00 2001 From: Serhii Varakuta <8980561+floodcode@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:57:46 +0300 Subject: [PATCH] Fix latest tag (#56) --- .github/actions/build-and-push/action.yml | 4 ++-- .github/actions/multiarch-push/action.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-and-push/action.yml b/.github/actions/build-and-push/action.yml index 2c45c80ba3..e84e9f4172 100644 --- a/.github/actions/build-and-push/action.yml +++ b/.github/actions/build-and-push/action.yml @@ -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 }} \ No newline at end of file + ANON_ENV=${{ inputs.environment }} diff --git a/.github/actions/multiarch-push/action.yml b/.github/actions/multiarch-push/action.yml index 5743d52816..a0b9e68d9d 100644 --- a/.github/actions/multiarch-push/action.yml +++ b/.github/actions/multiarch-push/action.yml @@ -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' }} \ No newline at end of file + -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' }} \ No newline at end of file