Skip to content

Commit

Permalink
ensure we log in
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRushton committed Aug 9, 2024
1 parent d6435ae commit 31a328e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,14 @@ jobs:
# only-summary: 'true'


# - name: Login to Amazon ECR TODO: Shouldnt need to do this again
# if: env.DOCKER_PUSH=='true'
# id: login-ecr
# uses: aws-actions/amazon-ecr-login@v1.6.0
- name: Login to Amazon ECR #TODO: Shouldnt need to do this again
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1.6.0
- name: ECR (Dev) - Pull Image
run: |
ECR_DOCKER_IMAGE="${{ steps.login-ecr.outputs.registry }}/${{ github.event.repository.name }}:main"
docker pull $ECR_DEV_IMAGE
echo "ECR_DEV_IMAGE=$ECR_DEV_IMAGE" >> $GITHUB_ENV
- name: GCR (Staging) - Login
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 31a328e

Please sign in to comment.