From a23a383c55b9fb4b358b057c1776f8285e47c959 Mon Sep 17 00:00:00 2001 From: "Dusan Mijatovic (PC2020)" Date: Wed, 9 Nov 2022 14:00:43 +0100 Subject: [PATCH] ci: update set-output in ghcr action --- .github/workflows/_ghcr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_ghcr.yml b/.github/workflows/_ghcr.yml index 02563f9f8..356c85fcc 100644 --- a/.github/workflows/_ghcr.yml +++ b/.github/workflows/_ghcr.yml @@ -57,7 +57,7 @@ jobs: IMAGE_TAG_LASTEST=${{inputs.base_image_name}}:latest echo image_tag_version $IMAGE_TAG_VERSION docker build -t $IMAGE_TAG_VERSION -t $IMAGE_TAG_LASTEST -f ${{inputs.dockerfile}} ${{inputs.docker_context}} - echo "::set-output name=image_build::$IMAGE_TAG_VERSION" + echo "{image_build}={$IMAGE_TAG_VERSIONvalue}" >> $GITHUB_OUTPUT - name: push to ghcr.io id: push_image run: | @@ -65,5 +65,5 @@ jobs: echo "${{secrets.token}}" | docker login https://ghcr.io -u ${{inputs.ghcr_user}} --password-stdin echo push auth image with all tags docker push ${{inputs.base_image_name}} --all-tags - echo "::set-output name=image_pushed::true" + echo "{image_build}={$IMAGE_TAG_VERSIONvalue}" >> $GITHUB_OUTPUT