mirror of https://github.com/keeweb/keeweb.git
fixed docker image tagging
This commit is contained in:
parent
0ffca3dfe4
commit
bd9a98dbfd
|
@ -349,10 +349,8 @@ jobs:
|
||||||
run: cp -r html keeweb/package/docker/dist
|
run: cp -r html keeweb/package/docker/dist
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
working-directory: keeweb
|
working-directory: keeweb
|
||||||
run: docker build -t antelle/keeweb:latest package/docker
|
run: docker build -t antelle/keeweb:latest -t antelle/keeweb:${{ steps.get_tag.outputs.tag }} package/docker
|
||||||
- name: Tag the Docker image
|
- name: Push the Docker image to dockerhub
|
||||||
run: docker tag antelle/keeweb:latest antelle/keeweb:${{ steps.get_tag.outputs.tag }}
|
|
||||||
- name: Push the Docker image to the registry
|
|
||||||
if: ${{ github.repository == 'keeweb/keeweb' }}
|
if: ${{ github.repository == 'keeweb/keeweb' }}
|
||||||
run: docker push --all-tags antelle/keeweb
|
run: docker push --all-tags antelle/keeweb
|
||||||
- name: Create a GitHub release
|
- name: Create a GitHub release
|
||||||
|
|
Loading…
Reference in New Issue