From dd8b2b00e22e408cf3e89e39d798a006e564419f Mon Sep 17 00:00:00 2001 From: liushuyu Date: Wed, 6 Sep 2023 20:47:15 -0600 Subject: [PATCH] CI: set image tag as latest if built on master branch --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4ece53..97213a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY_IMAGE }} + tags: type=raw,value=latest,enable={{is_default_branch}} - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker BuildX