🐛 Fix docker build syntax

This commit is contained in:
2020-08-17 10:52:44 +01:00
committed by GitHub
parent 1460b6a14d
commit 0222d42e28

View File

@@ -32,7 +32,7 @@ jobs:
- name: Build image for Docker Hub
env:
VERSION: ${{ needs.release-on-push.output.ver }}
run: docker build . --file Dockerfile --tag luketainton/fhed:$VERSION luketainton/fhed:latest
run: docker build . --file Dockerfile --tag luketainton/fhed:$VERSION --tag luketainton/fhed:latest
- name: Push image to Docker Hub
env:
VERSION: ${{ needs.release-on-push.output.ver }}
@@ -51,7 +51,7 @@ jobs:
- name: Build image for GitHub Package Registry
env:
VERSION: ${{ needs.release-on-push.output.ver }}
run: docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/fhed/fhed:latest docker.pkg.github.com/luketainton/fhed/fhed:$VERSION
run: docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/fhed/fhed:latest --tag docker.pkg.github.com/luketainton/fhed/fhed:$VERSION
- name: Push image to GitHub Package Registry
env:
VERSION: ${{ needs.release-on-push.output.ver }}