diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a9559e..9fbfe28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,11 @@ jobs: - if: github.ref == 'refs/heads/main' name: Conditional(Set tag as `latest`) - run: echo "tag=willfarrell/crontab:latest >> $GITHUB_ENV" + run: echo "tag=willfarrell/crontab:latest" >> $GITHUB_ENV - if: startsWith(github.ref, 'refs/tags/') name: Conditional(Set tag as `{version}`) - run: echo "tag=willfarrell/crontab:${GITHUB_REF#refs/*/} >> $GITHUB_ENV" + run: echo "tag=willfarrell/crontab:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - run: | echo "$tag"