From 0d060e7282adb1202c0b2d83016a16bcdf8dbed1 Mon Sep 17 00:00:00 2001 From: Ethan Sung Date: Tue, 17 Nov 2020 17:00:03 +0900 Subject: [PATCH] Update docker_build Signed-off-by: Ethan Sung --- .github/workflows/docker_build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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