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