Skip to content

Commit c216b23

Browse files
fix: using inputs
Signed-off-by: Scott Schreckengaust <[email protected]>
1 parent 9e55e7a commit c216b23

File tree

1 file changed

+2
-6
lines changed
  • .github/actions/build-and-push-container-image

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,13 @@ runs:
178178

179179
- name: Create manifest list and push
180180
working-directory: ${{ runner.temp }}/digests
181-
env:
182-
IMAGE: ${{ inputs.image }}
183181
run: |
184182
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
185-
$(printf 'awslabs/$IMAGE@sha256:%s ' *)
183+
$(printf 'awslabs/${{ inputs.image }}@sha256:%s ' *)
186184
shell: bash
187185
- name: Inspect image
188-
env:
189-
IMAGE: ${{ inputs.image }}
190186
run: |
191-
docker buildx imagetools inspect awslabs/$IMAGE:${{ steps.meta.outputs.version }}
187+
docker buildx imagetools inspect awslabs/${{ inputs.image }}:${{ steps.meta.outputs.version }}
192188
shell: bash
193189
- name: Get version
194190
id: get-version

0 commit comments

Comments
 (0)