From 92c558d0b3aadbc8b7c750829ff117cc483dfa67 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Mon, 8 May 2023 10:35:15 +0100 Subject: [PATCH] don't update 'latest' for incremental builds - only for actual version releases --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 43900a6..331e73c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -42,7 +42,7 @@ jobs: if: (!startsWith(github.ref, 'refs/tags/')) with: push: true - tags: ghcr.io/ravenscroftj/turbopilot:latest + tags: ghcr.io/ravenscroftj/turbopilot:nightly-${{ github.sha }} context: ${{github.workspace}} platforms: linux/amd64,linux/arm64 @@ -52,7 +52,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: push: true - tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }} + tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}, ghcr.io/ravenscroftj/turbopilot:latest context: ${{github.workspace}} platforms: linux/amd64,linux/arm64 \ No newline at end of file