Skip to content

Commit

Permalink
Use private ECR repository in E2E actions
Browse files Browse the repository at this point in the history
  • Loading branch information
acopar committed May 6, 2024
1 parent 30ae119 commit 758a34d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: "${{ env.REGISTRY }}/docker.io/tonistiigi/binfmt:latest"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -83,6 +85,7 @@ jobs:
aws ecr get-login-password --region ${{ env.AWS_REGION }} | docker login --username AWS --password-stdin ${{ env.REGISTRY }}
# Fix authentication error by prefetching k3d base image
docker pull ${{ env.REGISTRY }}/${{ env.K3D_BASE_IMAGE }}
docker pull ${{ env.REGISTRY }}/docker.io/library/registry:2
# TODO: Add a way to override k3d-config.yaml base image tag
k3d cluster create --config e2e/k3d/k3d-config.yaml
Expand Down

0 comments on commit 758a34d

Please sign in to comment.