Skip to content

Commit f247765

Browse files
fix: add param
1 parent dbfe578 commit f247765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/build-push-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ runs:
4545
- name: Login to Amazon ECR
4646
id: login-ecr
4747
uses: aws-actions/[email protected]
48+
with:
49+
registry-type: ${{ inputs.registry_type }}
4850
- name: get image tag
4951
id: get-image-tag
5052
run: |
@@ -55,8 +57,6 @@ runs:
5557
ECR_REGISTRY: ${{ inputs.ecr_registry }}
5658
ECR_REPOSITORY: ${{ inputs.ecr_repository }}
5759
IMAGE_TAG: ${{ inputs.image_tag }}
58-
with:
59-
registry-type: ${{ inputs.registry_type }}
6060
shell: bash
6161
- name: Build and push image to Amazon ECR
6262
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)