Skip to content

Commit

Permalink
Merge pull request #1108 from shikorism/fix/docker-image-tag-semver
Browse files Browse the repository at this point in the history
docker/metadata-actionのtagsをsemver向けに調整
  • Loading branch information
shibafu528 authored Dec 6, 2023
2 parents 2a6e29b + ea81df1 commit d8caa9c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
id: meta_foundation
with:
images: ghcr.io/${{ github.repository }}-foundation
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v5
with:
Expand All @@ -49,6 +54,11 @@ jobs:
id: meta_nginx
with:
images: ghcr.io/${{ github.repository }}-nginx
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v5
with:
Expand All @@ -66,6 +76,11 @@ jobs:
id: meta_php
with:
images: ghcr.io/${{ github.repository }}-php
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit d8caa9c

Please sign in to comment.