diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abb7878..b4b88f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,8 @@ jobs: - name: Checkout Push to Registry action uses: actions/checkout@v2 - name: set env - run: echo "::set-env name=NOW::$(date +'%Y%m%d')" + run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV + # Build image using Buildah action - name: Build Image id: build_image @@ -35,7 +36,7 @@ jobs: containerfiles: | ./Containerfile image: ${{ env.IMAGE_NAME }} - tags: ${{ env.IMAGE_TAGS }} ${{ env.NOW }} + tags: ${{ env.IMAGE_TAGS }} ${{ env.DATE }} oci: true # Workaround bug where capital letters in your GitHub user name make it impossible to push to GHCR.