File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,23 @@ jobs:
9090 registry : ghcr.io
9191 username : ${{ github.actor }}
9292 password : ${{ secrets.GITHUB_TOKEN }}
93+ - name : Pull images
94+ run : |
95+ docker pull ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}-amd64
96+ docker tag ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}-amd64 ghcr.io/python/${{ inputs.package }}:amd64
97+
98+ docker pull ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}-arm64
99+ docker tag ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}-arm64 ghcr.io/python/${{ inputs.package }}:arm64
100+
93101 - name : Set manifest
94102 run : |
95103 docker manifest create ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }} \
96- ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}- amd64 \
97- ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}- arm64
104+ ghcr.io/python/${{ inputs.package }}:amd64 \
105+ ghcr.io/python/${{ inputs.package }}:arm64
98106
99107 docker manifest create ghcr.io/python/${{ inputs.package }}:latest \
100- ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}- amd64 \
101- ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}- arm64
108+ ghcr.io/python/${{ inputs.package }}:amd64 \
109+ ghcr.io/python/${{ inputs.package }}:arm64
102110
103111 docker manifest push ghcr.io/python/${{ inputs.package }}:latest
104112 docker manifest push ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}
You can’t perform that action at this time.
0 commit comments