fixed tag names

This commit is contained in:
Christian Haschek 2021-11-10 09:16:48 +01:00
parent ca606a0bc4
commit a432d5e691

View file

@ -20,7 +20,7 @@ jobs:
run: echo "::set-output name=date::$(date +%s)"
- uses: actions/checkout@v2
- 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
uses: docker/login-action@v1
@ -30,4 +30,4 @@ jobs:
- name: Pushing push as latest
run: docker push hascheksolutions/opentrashmail:latest
- name: Pushing to private registry
run: docker push hascheksolutions/opentrashmail:${{ github.event.release.tag_name }}
run: docker push hascheksolutions/opentrashmail:${{ steps.date.outputs.date }}