fix workflow
This commit is contained in:
parent
2a4e1764bd
commit
b23fda8334
10
.github/workflows/build-releases.yml
vendored
10
.github/workflows/build-releases.yml
vendored
@ -6,13 +6,13 @@ permissions:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-current-time:
|
get-current-date:
|
||||||
name: Get Current Time
|
name: Get Current Date
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Current TIme
|
- name: Get Current Date
|
||||||
id: time
|
id: time
|
||||||
run: echo "MY_DATE=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
|
run: echo "DATE=$(date +%Y%m%d%H%M)" >> $GITHUB_OUTPUT
|
||||||
build-image:
|
build-image:
|
||||||
uses: ./.github/workflows/build-container-image.yml
|
uses: ./.github/workflows/build-container-image.yml
|
||||||
with:
|
with:
|
||||||
@ -23,5 +23,5 @@ jobs:
|
|||||||
flavor: |
|
flavor: |
|
||||||
latest = true
|
latest = true
|
||||||
tags: |
|
tags: |
|
||||||
type=pep440,pattern=${{ env.MY_DATE }}
|
type=pep440,pattern=${{ needs.get-current-date.outputs.DATE }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
Loading…
Reference in New Issue
Block a user