From b54b82791ddb1b71c02b08273e64bc10df76e2d9 Mon Sep 17 00:00:00 2001 From: morimoto-cybozu Date: Wed, 15 Jun 2022 11:55:26 +0000 Subject: [PATCH] CI/CD: disable latest image tag Signed-off-by: morimoto-cybozu --- .github/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 440c038b7..c40f0bbd7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,10 +25,11 @@ jobs: uses: docker/metadata-action@v4 with: images: ghcr.io/cybozu-go/moco + flavor: latest=false # ref. https://github.com/docker/metadata-action#typesemver tags: | type=semver,pattern={{version}} - - name: Build (and push if on main) + - name: Build id: docker_build uses: docker/build-push-action@v2 with: @@ -58,10 +59,11 @@ jobs: uses: docker/metadata-action@v4 with: images: ghcr.io/cybozu-go/moco-backup + flavor: latest=false # ref. https://github.com/docker/metadata-action#typesemver tags: | type=semver,pattern={{version}} - - name: Build (and push if on main) + - name: Build id: docker_build uses: docker/build-push-action@v2 with: