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

Commit4ebfa76

Browse files
committed
release: Set calver
1 parentf0988f8 commit4ebfa76

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
runs-on:ubuntu-latest
1818
steps:
1919
# Checkout push-to-registry action github repository
20+
-name:Set Calver Date
21+
run:|
22+
echo "builddate=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
23+
id:version
2024
-name:Checkout Push to Registry action
2125
uses:actions/checkout@v4
2226
-name:Set up QEMU
@@ -28,12 +32,12 @@ jobs:
2832
with:
2933
registry:ghcr.io
3034
username:python
31-
password:${{secrets.GHCR_TOKEN}}
35+
password:${{secrets.GHCR_TOKEN}}
3236
-name:Build and push
3337
uses:docker/build-push-action@v5
3438
with:
3539
context:./${{ inputs.package }}
3640
platforms:linux/amd64,linux/arm64
3741
push:true
3842
tags:|
39-
ghcr.io/python/${{ inputs.package }}:latest
43+
ghcr.io/python/${{ inputs.package }}:${{ steps.version.outputs.builddate }}.${{ github.run_id }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp