We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6595780 commit bab8063Copy full SHA for bab8063
.github/workflows/docker-image-push.yml
@@ -85,3 +85,18 @@ jobs:
85
labels: ${{ steps.meta.outputs.labels }}
86
cache-from: type=gha
87
cache-to: type=gha,mode=max
88
+
89
+ - name: Login to APHL ECR
90
+ if: ${{ matrix.name != 'index' }}
91
+ uses: docker/login-action@v4
92
+ with:
93
+ registry: ${{ secrets.APHL_ECR_REPOSITORY_URL }}
94
+ username: ${{ secrets.APHL_AWS_ACCESS_KEY_ID }}
95
+ password: ${{ secrets.APHL_AWS_SECRET_ACCESS_KEY }}
96
97
+ - name: Push to APHL ECR
98
99
+ run: |
100
+ GHCR_IMAGE="ghcr.io/${{ steps.repo.outputs.owner }}/dibbs-text-to-code/${{ matrix.name }}:latest"
101
+ ECR_IMAGE="${{ secrets.APHL_ECR_REPOSITORY_URL }}/${{ matrix.name }}:latest"
102
+ docker buildx imagetools create --tag "$ECR_IMAGE" "$GHCR_IMAGE"
0 commit comments