ci: fix image name, was deplying to wrong image

This commit is contained in:
will Farrell
2020-12-17 08:27:03 -07:00
parent d55759e9a0
commit 49f98c56f0
+2 -2
View File
@@ -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/autoheal: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/autoheal:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
-
name: Build and push