diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 216b66e..da598f3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -24,8 +24,8 @@ jobs: uses: actions/checkout@v3 - name: Get current date - id: date - run: echo "{today}={$(date +'%Y%m%d%H%M')}" >> $GITHUB_OUTPUT + id: getTime + run: echo "nowtime=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT - name: Login to DockerHub uses: docker/login-action@v2 @@ -41,7 +41,7 @@ jobs: platforms: linux/amd64 push: ${{ github.event_name != 'pull_request' }} tags: | - winspain0/easy_lottery:${{ steps.date.outputs.today }} + winspain0/easy_lottery:${{ steps.getTime.outputs.nowtime }} winspain0/easy_lottery:latest