Skip to content

Commit 4ebfa76

Browse files
committed
release: Set calver
1 parent f0988f8 commit 4ebfa76

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy