We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 956dd85 commit f6181ffCopy full SHA for f6181ff
1 file changed
.github/workflows/main.yml
@@ -140,9 +140,11 @@ jobs:
140
141
- name: Build Docker image
142
id: build-image
143
+ env:
144
+ ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
145
run: |
146
IMAGE_TAG=${{ steps.meta.outputs.short_sha }}
- ECR_IMAGE=${{ secrets.ECR_REPOSITORY_URL }}:$IMAGE_TAG
147
+ ECR_IMAGE=$ECR_REGISTRY/${{ secrets.ECR_REPOSITORY_NAME }}:$IMAGE_TAG
148
docker build -t $ECR_IMAGE .
149
echo "ECR_IMAGE=$ECR_IMAGE" >> $GITHUB_ENV
150
0 commit comments