From d42853b076c39247872d4fc24c50bbc9642e9547 Mon Sep 17 00:00:00 2001 From: Fei Yang Date: Thu, 27 Oct 2022 09:44:07 +0000 Subject: [PATCH] Replace set-output commands --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 783df5ba..23f99f1d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,11 +31,11 @@ jobs: - name: Get tag to build id: tag run: | - echo ::set-output name=latest::ghcr.io/sagernet/sing-box:latest + echo "latest=ghcr.io/sagernet/sing-box:latest" >> $GITHUB_OUTPUT if [[ -z "${{ github.event.inputs.tag }}" ]]; then - echo ::set-output name=versioned::ghcr.io/sagernet/sing-box:${{ github.ref_name }} + echo "versioned=ghcr.io/sagernet/sing-box:${{ github.ref_name }}" >> $GITHUB_OUTPUT else - echo ::set-output name=versioned::ghcr.io/sagernet/sing-box:${{ github.event.inputs.tag }} + echo "versioned=ghcr.io/sagernet/sing-box:${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT fi - name: Build and release Docker images uses: docker/build-push-action@v2