From 7e82d6732d3b14624936626aff5736d5d09ed2e4 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 9 Jan 2021 15:53:03 +0100 Subject: [PATCH] Fix workflow for pushing 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: