diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 7034f36b9..4827ac068 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -24,7 +24,7 @@ jobs: go-version: "1.19" - id: get-tag name: Get tag - run: echo "::set-output name=tag::$(echo ${{ github.event.pull_request.head.ref }} | tr -d release-)" + run: echo "tag=$(echo ${{ github.event.pull_request.head.ref }} | tr -d release-)" >> $GITHUB_OUTPUT - name: Create tag run: | git tag ${{ steps.get-tag.outputs.tag }} diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 6ca9f7668..cd8b24a8e 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -18,7 +18,7 @@ jobs: - id: export run: | # registry must be in lowercase - echo "::set-output name=registry::$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])" + echo "registry=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])" >> $GITHUB_OUTPUT publish-images: needs: export-registry