diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39140aa..ae5f25f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} REGISTRY_ALIAS: diggas ECR_REPOSITORY: todobackend - IMAGE_TAG: latest + IMAGE_TAG: ${{ github.sha }} run: | docker build -t $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG -f ./newdjangotodo/Dockerfile . docker push $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG