update ecr action to push with latest tag

This commit is contained in:
Matthias Nannt
2022-07-19 21:55:12 +02:00
parent 71dcf17e17
commit 5539ec59b3

View File

@@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support
# documentation.
name: Deploy to Amazon ECS
name: Deploy to Amazon ECR
on:
push:
@@ -39,7 +39,7 @@ jobs:
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: latest
run: |
# Build a docker container and
# push it to ECR so that it can