Skip to content

Commit

Permalink
fix: set-output deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Fovty committed Apr 18, 2024
1 parent 0a8c46e commit 4192efa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
SHORT_SHA=$(git rev-parse --short HEAD)
TAG1="dev"
TAG2="commit-$SHORT_SHA"
if [[ "${{ steps.check-version.outputs.is_valid }}" == 'true' ]]; then
TAG1="latest"
TAG2="${{ steps.check-version.outputs.full_without_prefix }}"
fi
echo "::set-output name=tag1::$TAG1"
echo "::set-output name=tag2::$TAG2"
echo "TAG1=$TAG1" >> $GITHUB_ENV
echo "TAG2=$TAG2" >> $GITHUB_ENV
- name: Docker meta
id: meta
Expand Down

0 comments on commit 4192efa

Please sign in to comment.