Skip to content

Commit 2d453b0

Browse files
committed
fix(ci): composite needs bash
1 parent ec7b3d3 commit 2d453b0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/manifest-push/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ runs:
3131
password: ${{ inputs.gh_token }}
3232
- name: Create manifest list with parent versions
3333
if: steps.hierarchy.outputs.has_hierarchy == 'true'
34+
shell: bash
3435
run: |
3536
docker manifest create ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}:${{ inputs.version }} \
3637
--amend ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}-amd64:${{ inputs.version }} \
@@ -45,15 +46,18 @@ runs:
4546
--amend ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}-arm64:${{ steps.hierarchy.outputs.major_parent }}
4647
- name: Create manifest list without parent versions
4748
if: steps.hierarchy.outputs.has_hierarchy != 'true'
49+
shell: bash
4850
run: |
4951
docker manifest create ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}:${{ inputs.version }} \
5052
--amend ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}-amd64:${{ inputs.version }} \
5153
--amend ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}-arm64:${{ inputs.version }}
5254
- name: Push manifest list
55+
shell: bash
5356
run: |
5457
docker manifest push ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}:${{ inputs.version }}
5558
- name: Push manifests of parent versions
5659
if: steps.hierarchy.outputs.has_hierarchy == 'true'
60+
shell: bash
5761
run: |
5862
docker manifest push ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}:${{ steps.hierarchy.outputs.minor_parent }}
5963
docker manifest push ghcr.io/${{ github.repository_owner }}/${{ inputs.app_name }}-${{ inputs.package }}:${{ steps.hierarchy.outputs.major_parent }}

0 commit comments

Comments
 (0)