Skip to content

Commit

Permalink
Merge pull request #3969 from rouault/ci_docker_set_output
Browse files Browse the repository at this point in the history
docker.yml: replace depecated 'echo ::set-output name=KEY::VALUE' with echo 'name=value' >> $GITHUB_OUTPUT
  • Loading branch information
rouault authored Nov 27, 2023
2 parents 89d06fa + 2e94832 commit 1de33f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF/refs\/tags\//}
fi
echo ::set-output name=BUILD_DATE::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=VERSION::${VERSION}
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Build image
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 1de33f5

Please sign in to comment.