From a432d5e691fbc410afb2331d16e72578d21f4644 Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Wed, 10 Nov 2021 09:16:48 +0100 Subject: [PATCH] fixed tag names --- .github/workflows/build-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 2b873f2..7ff7618 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -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 }} \ No newline at end of file + run: docker push hascheksolutions/opentrashmail:${{ steps.date.outputs.date }} \ No newline at end of file