From 08fa9fcddf95a5d56efba4e59a8c6cb71a090bed Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Wed, 6 Sep 2023 14:43:20 -0400 Subject: [PATCH] Use latest tag when pushing to ECR --- .github/workflows/image_to_aws.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image_to_aws.yml b/.github/workflows/image_to_aws.yml index bab597ce..ff304a6e 100644 --- a/.github/workflows/image_to_aws.yml +++ b/.github/workflows/image_to_aws.yml @@ -25,5 +25,6 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v1 - name: Build & Push Base Image + # TODO: we really should tag with a specific version as well, but that will come later run: | - docker buildx build --push -t ${{ steps.login-ecr.outputs.registry }}/pixee/codemodder-python:base-image . + docker buildx build --push -t ${{ steps.login-ecr.outputs.registry }}/pixee/codemodder-python:latest .