Skip to content

Commit 27bad76

Browse files
committed
fix: CURRENT_DATETIME
1 parent 91e2c9f commit 27bad76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-devcontainer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
password: ${{ secrets.GITHUB_TOKEN }}
3838

3939
- name: Set current datetime as env variable
40-
run: CURRENT_DATETIME=$(date +'%Y-%m-%dT%H:%M:%S%z')
40+
run: CURRENT_DATETIME=$(date --iso-8601=seconds) >> $GITHUB_ENV
4141

4242
- name: Extract metadata
4343
id: meta
@@ -50,7 +50,7 @@ jobs:
5050
type=raw,value=latest,enable={{is_default_branch}}
5151
labels: |
5252
maintainer=a5chin <[email protected]>
53-
org.opencontainers.image.created=${{ CURRENT_DATETIME }}
53+
org.opencontainers.image.created=${{ env.CURRENT_DATETIME }}
5454
org.opencontainers.image.url=https://github.com/a5chin/python-uv
5555
org.opencontainers.image.source=https://github.com/a5chin/python-uv
5656
org.opencontainers.image.vendor=a5chin <[email protected]>

0 commit comments

Comments
 (0)