From 7c7358af9c3a9f0f80ba5075fbf5ca5cce908db3 Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Sat, 20 Nov 2021 01:25:43 +0100 Subject: [PATCH] only save one tag per day --- .github/workflows/build-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 6ab6e57..f881cd9 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Get current date id: date - run: echo "::set-output name=date::$(date '+%Y%m%d%H%M%S')" + run: echo "::set-output name=date::$(date '+%Y%m%d%H')" - uses: actions/checkout@v2 - name: Build the Docker image run: docker build . --file docker/Dockerfile --tag hascheksolutions/pictshare:${{ steps.date.outputs.date }} --tag hascheksolutions/pictshare:latest