Skip to content

Commit

Permalink
docker alpine: CI update for set-output command (#2921)
Browse files Browse the repository at this point in the history
Currently (e.g. https://github.com/OSGeo/grass/actions/runs/4718450552/jobs/8368064252#step:8:9512) the following warning shows up:

   build and push alpine for branch
   The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see:
   https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This PR attempts to update it accordingly.
  • Loading branch information
neteler committed Apr 18, 2023
1 parent 6204861 commit 14927ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
TAG_PREFIX=`echo $GITHUB_REF|cut -d '/' -f3`
fi
tag="${DOCKERHUB_REPOSITORY}:${TAG_PREFIX}-${{ matrix.os }}"
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: |
echo ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
name: Create tag name
run: |
tag=${DOCKERHUB_REPOSITORY}:latest
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: echo ${{ steps.meta.outputs.tags }}
- name: Set up QEMU
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
name: Update tag name
run: |
tag="${{ steps.meta.outputs.tags }}-${{ matrix.os }}"
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: |
echo ${{ steps.meta2.outputs.tags }}
Expand Down

0 comments on commit 14927ee

Please sign in to comment.