Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Jun 25, 2024
1 parent bc1c733 commit f7d6f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: elevator-registry
IMAGE_TAG: ${{ github.sha }}
# IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: latest
run: |
# echo the current git commit into a file named REVISION
echo $GITHUB_SHA > REVISION
Expand All @@ -37,5 +38,4 @@ jobs:
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker/
# Push the Docker image to the ECR repository
# docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 comments on commit f7d6f23

Please sign in to comment.