Skip to content

Commit 24ce8d3

Browse files
authored
docker alpine: CI update for set-output command (#2921)
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.
1 parent d18881b commit 24ce8d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
TAG_PREFIX=`echo $GITHUB_REF|cut -d '/' -f3`
7575
fi
7676
tag="${DOCKERHUB_REPOSITORY}:${TAG_PREFIX}-${{ matrix.os }}"
77-
echo "::set-output name=tags::$tag"
77+
echo "tags=$tag" >> $GITHUB_OUTPUT
7878
- name: Log
7979
run: |
8080
echo ${{ steps.meta.outputs.tags }}
@@ -118,7 +118,7 @@ jobs:
118118
name: Create tag name
119119
run: |
120120
tag=${DOCKERHUB_REPOSITORY}:latest
121-
echo "::set-output name=tags::$tag"
121+
echo "tags=$tag" >> $GITHUB_OUTPUT
122122
- name: Log
123123
run: echo ${{ steps.meta.outputs.tags }}
124124
- name: Set up QEMU
@@ -175,7 +175,7 @@ jobs:
175175
name: Update tag name
176176
run: |
177177
tag="${{ steps.meta.outputs.tags }}-${{ matrix.os }}"
178-
echo "::set-output name=tags::$tag"
178+
echo "tags=$tag" >> $GITHUB_OUTPUT
179179
- name: Log
180180
run: |
181181
echo ${{ steps.meta2.outputs.tags }}

0 commit comments

Comments
 (0)