Skip to content

Commit

Permalink
Fix use of set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Oct 6, 2024
1 parent 5623f0e commit 5ba95e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Get current date
id: getbuilddate
run: |
echo "::set-output name=date::$(date -u)"
echo "::set-output name=isodate::$(date -u '+%Y-%m-%dT%H:%M:%S')"
echo "::set-output name=tagdate::$(date -u '+%Y%m%d%H%M%S')"
echo "::set-output name=timestamp::$(date -u '+%s')"
echo "date=$(date -u)" >> $GITHUB_OUTPUT
echo "isodate=$(date -u '+%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
echo "tagdate=$(date -u '+%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
echo "timestamp=$(date -u '+%s')" >> $GITHUB_OUTPUT
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit 5ba95e4

Please sign in to comment.