Skip to content

Commit

Permalink
Merge pull request #418 from cybozu-go/disable-latest-image-tag
Browse files Browse the repository at this point in the history
CI/CD: disable latest image tag
  • Loading branch information
morimoto-cybozu authored Jun 16, 2022
2 parents bfe61f8 + b54b827 commit 27788c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 27788c4

Please sign in to comment.