From f481811200eac9ab63872dae0f6b0eb255410357 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 9 Jan 2021 14:44:54 +0100 Subject: [PATCH] Fix workflow for pushing the docker image --- .github/workflows/push_image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push_image.yml b/.github/workflows/push_image.yml index db43200..9cd7bbd 100644 --- a/.github/workflows/push_image.yml +++ b/.github/workflows/push_image.yml @@ -11,9 +11,9 @@ jobs: - name: Get release version id: get_release_tag run: | - echo ::set-env name=RELEASE_VERSION::$(echo $(date '+%Y%m%d')) - echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//" | tr '[:upper:]' '[:lower:]') - echo ::set-env name=REPOSITORY_OWNER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}' | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]') + echo RELEASE_VERSION=$(echo $(date '+%Y%m%d')) >> $GITHUB_ENV + echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//" | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV + echo REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}' | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@master with: