From 9b1538c23bf0b0bea4e30c3e3394a24b822b692a Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Thu, 31 Oct 2024 13:42:38 +0100 Subject: [PATCH] Add 'latest' tag --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 697c6fc..4bac97b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3.2.0 - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -37,6 +37,9 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: + # set latest tag for default branch + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image uses: docker/build-push-action@v5