From 909a30b6454c2e933c89f681c8f36c3b9113838d Mon Sep 17 00:00:00 2001 From: lanath Date: Wed, 13 Nov 2024 09:42:30 +0100 Subject: [PATCH] ci: tag latest on default branch --- .github/workflows/docker.yaml | 1 + values.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 values.txt diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 4a6f8a8..b8fbda9 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -91,6 +91,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=sha + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image id: push diff --git a/values.txt b/values.txt new file mode 100644 index 0000000..dc88186 --- /dev/null +++ b/values.txt @@ -0,0 +1 @@ +always \ No newline at end of file