File tree Expand file tree Collapse file tree
.github/actions/manifest-push Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments