Skip to content

Commit

Permalink
debug run
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelxswe committed Apr 2, 2024
1 parent b027480 commit aec05af
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,17 @@ jobs:
uses: aws-actions/amazon-ecr-login@v1

- name: Build, tag, and push image to Amazon ECR
run: |
ECR_REPOSITORY=test
IMAGE_TAG=latest
IMAGE_NAME=app
IMAGE_URI="${ECR_REGISTRY}/${ECR_REPOSITORY}:${IMAGE_TAG}"
echo $IMAGE_URI
echo $IMAGE_NAME
echo $IMAGE_TAG
docker build -t $IMAGE_NAME .
docker tag $IMAGE_NAME:$IMAGE_TAG $IMAGE_URI
docker push $IMAGE_URI
run: |
ECR_REPOSITORY=test
IMAGE_TAG=latest
IMAGE_NAME=app
IMAGE_URI="${ECR_REGISTRY}/${ECR_REPOSITORY}:${IMAGE_TAG}"
echo $IMAGE_URI
echo $IMAGE_NAME
echo $IMAGE_TAG
docker build -t $IMAGE_NAME .
docker tag $IMAGE_NAME:$IMAGE_TAG $IMAGE_URI
docker push $IMAGE_URI
# run: |
# ECR_REPOSITORY=test
Expand Down

0 comments on commit aec05af

Please sign in to comment.