🐛 Fix docker build syntax
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Build image for Docker Hub
|
- name: Build image for Docker Hub
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.release-on-push.output.ver }}
|
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
|
- name: Push image to Docker Hub
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.release-on-push.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
- name: Build image for GitHub Package Registry
|
- name: Build image for GitHub Package Registry
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.release-on-push.output.ver }}
|
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
|
- name: Push image to GitHub Package Registry
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.release-on-push.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
|
|||||||
Reference in New Issue
Block a user