From b23fda8334d6cc99d9cad3dcecff7c52bfc3b246 Mon Sep 17 00:00:00 2001 From: Noa Himesaka Date: Mon, 24 Jul 2023 16:25:28 +0900 Subject: [PATCH] fix workflow --- .github/workflows/build-releases.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-releases.yml b/.github/workflows/build-releases.yml index c0bd640db6..c54fd49b5c 100644 --- a/.github/workflows/build-releases.yml +++ b/.github/workflows/build-releases.yml @@ -6,13 +6,13 @@ permissions: packages: write jobs: - get-current-time: - name: Get Current Time + get-current-date: + name: Get Current Date runs-on: ubuntu-latest steps: - - name: Get Current TIme + - name: Get Current Date 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: uses: ./.github/workflows/build-container-image.yml with: @@ -23,5 +23,5 @@ jobs: flavor: | latest = true tags: | - type=pep440,pattern=${{ env.MY_DATE }} + type=pep440,pattern=${{ needs.get-current-date.outputs.DATE }} secrets: inherit