From fe17812883e804f171c21ea7435aa94a0d9664b9 Mon Sep 17 00:00:00 2001 From: Michael Helfrich Date: Sat, 12 Feb 2022 17:14:52 -0500 Subject: [PATCH] Adjust the format of the workflow slightly per failure. --- .github/workflows/docker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4e4e897..78e91c5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,11 +17,12 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Get current date/time in the usual format to set the tags - run: echo "DATE_TIME=$(date + '%Y.%m.%d.%H%M%S')" >> $GITHUB_ENV + - name: Get current date/time in the usual format + id: date + run: echo "::set-output name=date::$(date + '%Y.%m.%d.%H%M%S')" - name: Build and push Docker image uses: docker/build-push-action@v2 with: context: . push: true - tags: mikeah/prusaslicer-novnc:latest, mikeah/prusaslicer-novnc:${{ env.DATE_TIME }} + tags: mikeah/prusaslicer-novnc:latest, mikeah/prusaslicer-novnc:${{ steps.date.outputs.date }}