From a4d6a827ca16c3eabd92a73f40d46e9f0830eb7e Mon Sep 17 00:00:00 2001 From: Max Lobur Date: Mon, 1 May 2023 20:25:54 +0300 Subject: [PATCH] Update docker.yaml (#57) --- .github/workflows/docker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 24f72a8..5a135ed 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -16,11 +16,11 @@ jobs: id: get_build_version run: | if [[ $GITHUB_REF == refs/tags/* ]]; then - echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT elif [[ $GITHUB_REF == refs/pull/* ]]; then - echo ::set-output name=VERSION::pr-${{ github.event.pull_request.number }}-merge + echo "VERSION=pr-${{ github.event.pull_request.number }}-merge" >> $GITHUB_OUTPUT else - echo ::set-output name=VERSION::${GITHUB_SHA} + echo "VERSION=${GITHUB_SHA}" >> $GITHUB_OUTPUT fi - name: Prepare tags for Docker image