Skip to content

Commit

Permalink
store date in github_date
Browse files Browse the repository at this point in the history
  • Loading branch information
meffie96 committed Feb 27, 2024
1 parent d08ab81 commit 36c1029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "{date}={$(date +'%Y-%m-%d')}" >> $GITHUB_STATE
- name: Login to GitHub Container registry
uses: docker/login-action@v3
env:
Expand All @@ -28,6 +28,5 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: ghcr.io/wwu-trap/cjp8:${{ steps.date.outputs.date }}

0 comments on commit 36c1029

Please sign in to comment.