Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanko1 committed Dec 1, 2023
1 parent b6a064f commit a3b6564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/promote_docker_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
run: |
docker pull 081157560428.dkr.ecr.us-east-1.amazonaws.com/terraform-deploy-slim:lts-0
for tag in $(echo ${{ inputs.image-tags }} | sed "s/,/ /g"); do
docker pull ${{ inputs.source-account-id }}.dkr.ecr.us.${{ inputs.source-region }}.amazonaws.com/${{ inputs.image-name }}:$tag
docker pull ${{ inputs.source-account-id }}.dkr.ecr.${{ inputs.source-region }}.amazonaws.com/${{ inputs.image-name }}:$tag
done
# - name: configurate_destination_account_aws_credentials
# uses: aws-actions/configure-aws-credentials@v3
Expand All @@ -53,6 +53,6 @@ runs:
run: |
for tag in $(echo ${{ inputs.image-tags }} | sed "s/,/ /g"); do
docker buildx imagetools create \
--tag ${{ inputs.destination-account-id }}.dkr.ecr.us.${{ inputs.destination-region }}/${{ inputs.image-name }}:$tag \
--tag ${{ inputs.destination-account-id }}.dkr.ecr.${{ inputs.destination-region }}/${{ inputs.image-name }}:$tag \
${{ inputs.source-account-id }}.dkr.ecr.us.${{ inputs.source-region }}.amazonaws.com/${{ inputs.image-name }}:$tag
done

0 comments on commit a3b6564

Please sign in to comment.