From ed3fbcc19f7a75aba248e626c5930b509f408ded Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Wed, 12 Jul 2023 08:47:20 +0800 Subject: [PATCH] chore: update container build prepare job output in Github Actions (#1019) Signed-off-by: Billy Zha --- .github/workflows/release-ghcr.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-ghcr.yml b/.github/workflows/release-ghcr.yml index d9ba9575b..e39ae4ae4 100644 --- a/.github/workflows/release-ghcr.yml +++ b/.github/workflows/release-ghcr.yml @@ -35,8 +35,7 @@ jobs: if [[ "${VERSION}" == "${BRANCH_NAME}" ]]; then VERSION=$(git rev-parse --short HEAD) fi - echo ::set-output name=version::${VERSION} - echo ::set-output name=ref::ghcr.io/${{ github.repository }}:${VERSION} + echo "ref=ghcr.io/${{ github.repository }}:${VERSION}" >> $GITHUB_OUTPUT - name: docker login uses: docker/login-action@v2 with: