diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index eb4bac4149..cee4f1e2f4 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -41,10 +41,10 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Set environment variables run: | - echo "::set-env name=ECR_REGISTRY::${{ steps.login-ecr.outputs.registry }}" - echo "::set-env name=ECR_REPOSITORY::ston/aca-py" - echo "::set-env name=IMAGE_TAG::${{ github.sha }}" - echo "::set-env name=DOCKERFILE_PATH::docker/Dockerfile.run" + echo "ECR_REGISTRY=${{ steps.login-ecr.outputs.registry }}" >> $GITHUB_ENV + echo "ECR_REPOSITORY=ston/aca-py" >> $GITHUB_ENV + echo "IMAGE_TAG=${{ github.sha }}" >> $GITHUB_ENV + echo "DOCKERFILE_PATH=docker/Dockerfile.run" >> $GITHUB_ENV - name: Build, tag, and push image to Amazon ECR id: build-and-push-to-ecr