From 11e1e0b169573ad4c589c8c28da3d3494b14627c Mon Sep 17 00:00:00 2001 From: "stojanovskis1@icloud.com" Date: Tue, 5 Mar 2024 11:52:43 +0100 Subject: [PATCH] change set-output to GITHUB_OUTPUT env variable --- .github/workflows/pr_checks.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index a09beb2..b17109d 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -27,7 +27,7 @@ jobs: - name: Get docker tag for Alpine image id: alpine run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile)" >> $GITHUB_OUTPUT - name: Build CKAN 2.10 alpine uses: docker/build-push-action@v5 @@ -42,7 +42,7 @@ jobs: - name: Get docker tag for Ubuntu image id: ubuntu run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile.focal)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile.focal)" >> $GITHUB_OUTPUT - name: Build CKAN 2.10 ubuntu uses: docker/build-push-action@v5 @@ -78,7 +78,7 @@ jobs: - name: Get docker tag for Alpine image id: alpine run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile)" >> $GITHUB_OUTPUT - name: Build CKAN 2.9 alpine uses: docker/build-push-action@v5 @@ -93,7 +93,7 @@ jobs: - name: Get docker tag for Ubuntu image id: ubuntu run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile.focal)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile.focal)" >> $GITHUB_OUTPUT - name: Build CKAN 2.9 ubuntu uses: docker/build-push-action@v5 @@ -128,7 +128,7 @@ jobs: - name: Get docker tag for Alpine image id: alpine run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile)" >> $GITHUB_OUTPUT - name: Build CKAN 2.8 alpine uses: docker/build-push-action@v5 @@ -143,7 +143,7 @@ jobs: - name: Get docker tag for Ubuntu image id: ubuntu run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile.focal)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile.focal)" >> $GITHUB_OUTPUT - name: Build CKAN 2.8 ubuntu uses: docker/build-push-action@v5 @@ -176,7 +176,7 @@ jobs: - name: Get docker tag for Alpine image id: alpine run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile)" >> $GITHUB_OUTPUT - name: Build CKAN 2.7 alpine uses: docker/build-push-action@v5 @@ -191,7 +191,7 @@ jobs: - name: Get docker tag for Ubuntu image id: ubuntu run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile.focal)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile.focal)" >> $GITHUB_OUTPUT - name: Build CKAN 2.7 ubuntu uses: docker/build-push-action@v5 @@ -222,7 +222,7 @@ jobs: - name: Get docker tag for datapusher image id: datapusher run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/datapusher/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/datapusher/Dockerfile)" >> $GITHUB_OUTPUT - name: Build CKAN datapusher uses: docker/build-push-action@v5 @@ -253,7 +253,7 @@ jobs: - name: Get docker tag for psql-init image id: psql-init run: | - echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/psql-init/Dockerfile)" + echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/psql-init/Dockerfile)" >> $GITHUB_OUTPUT - name: Build psql-init uses: docker/build-push-action@v5