Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Winspain authored Nov 26, 2022
1 parent 134e212 commit f2c218e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit f2c218e

Please sign in to comment.