Skip to content

Commit 4b4a885

Browse files
committed
Pull container from GitHub and push to ECR
1 parent e552eb0 commit 4b4a885

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ jobs:
121121
run: deploy/deploy-ecr.sh $REGISTRY $REPOSITORY
122122

123123
# Build and push Docker container image
124-
- name: Build and Push to AWS ECR
124+
- name: Pull and Push to AWS ECR
125125
run: |
126-
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
126+
docker pull ghcr.io/swot-confluence/${APP_NAME_ENV}:latest
127127
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG
128128
129129
# Set up Terraform

0 commit comments

Comments
 (0)