diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index f7061aa..982bb01 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -19,13 +19,13 @@ jobs: - name: set docker image tag run: | if [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then - echo "IMAGE_TAG=dev" >> $env:GITHUB_ENV - echo "CREATE_IMAGE=true" >> $env:GITHUB_ENV + echo "IMAGE_TAG=dev" >> $GITHUB_ENV + echo "CREATE_IMAGE=true" >> $GITHUB_ENV elif [[ "${{ github.ref_type }}" == "tag" ]]; then echo "IMAGE_TAG=${{ github.ref_name }}" - echo "CREATE_IMAGE=true" >> $env:GITHUB_ENV + echo "CREATE_IMAGE=true" >> $GITHUB_ENV else - echo "CREATE_IMAGE=false" >> $env:GITHUB_ENV + echo "CREATE_IMAGE=false" >> $GITHUB_ENV fi - name: Login to Docker Hub