Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit778b840

Browse files
MayorFajSamMorrowDrums
authored andcommitted
fix: enhance Docker publish workflow with additional tagging options
1 parent519ed9e commit778b840

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎.github/workflows/docker-publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ jobs:
6666
uses:docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934# v5.0.0
6767
with:
6868
images:${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
69+
tags:|
70+
type=schedule
71+
type=ref,event=branch
72+
type=ref,event=tag
73+
type=ref,event=pr
74+
type=semver,pattern={{version}}
75+
type=semver,pattern={{major}}.{{minor}}
76+
type=semver,pattern={{major}}
77+
type=sha
78+
type=edge
79+
type=match
80+
type=pep440
81+
# Custom rule to prevent pre-releases from getting latest tag
82+
type=raw,value=latest,enable=${{ !contains(github.ref, '-') && github.ref_type == 'tag' }}
6983
7084
-name:Go Build Cache for Docker
7185
uses:actions/cache@v4

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp