From 116a296052a1a41f7bee2f6a3fbeb764831ddc1a Mon Sep 17 00:00:00 2001 From: JulianBihl <49682625+JulianBihl@users.noreply.github.com> Date: Sun, 29 Oct 2023 22:58:00 +0100 Subject: [PATCH] added latest tag to image --- .github/workflows/docker-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1aa5799..be1e300 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,7 +11,7 @@ on: push: branches: [ "main" ] # Publish semver tags as releases. - tags: [ 'v*.*.*' ] + tags: [ 'v*.*.*'] pull_request: branches: [ "main" ] @@ -79,7 +79,7 @@ jobs: with: context: . push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} + tags: ${{ steps.meta.outputs.tags }}, ${{ github.repository }}:latest labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -93,7 +93,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} env: # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable - TAGS: ${{ steps.meta.outputs.tags }} + TAGS: ${{ steps.meta.outputs.tags }}, ${{ github.repository }}:latest DIGEST: ${{ steps.build-and-push.outputs.digest }} # This step uses the identity token to provision an ephemeral certificate # against the sigstore community Fulcio instance.