fixed tag names
This commit is contained in:
parent
ca606a0bc4
commit
a432d5e691
4
.github/workflows/build-docker.yml
vendored
4
.github/workflows/build-docker.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
run: echo "::set-output name=date::$(date +%s)"
|
run: echo "::set-output name=date::$(date +%s)"
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file docker/Dockerfile --tag hascheksolutions/opentrashmail:${{ github.event.release.tag_name }} --tag hascheksolutions/opentrashmail:latest
|
run: docker build . --file docker/Dockerfile --tag hascheksolutions/opentrashmail:${{ steps.date.outputs.date }} --tag hascheksolutions/opentrashmail:latest
|
||||||
-
|
-
|
||||||
name: Login to registry
|
name: Login to registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
@ -30,4 +30,4 @@ jobs:
|
||||||
- name: Pushing push as latest
|
- name: Pushing push as latest
|
||||||
run: docker push hascheksolutions/opentrashmail:latest
|
run: docker push hascheksolutions/opentrashmail:latest
|
||||||
- name: Pushing to private registry
|
- name: Pushing to private registry
|
||||||
run: docker push hascheksolutions/opentrashmail:${{ github.event.release.tag_name }}
|
run: docker push hascheksolutions/opentrashmail:${{ steps.date.outputs.date }}
|
Loading…
Reference in a new issue