@@ -90,15 +90,23 @@ jobs:
90
90
registry :ghcr.io
91
91
username :${{ github.actor }}
92
92
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
+
93
101
-name :Set manifest
94
102
run :|
95
103
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
98
106
99
107
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
102
110
103
111
docker manifest push ghcr.io/python/${{ inputs.package }}:latest
104
112
docker manifest push ghcr.io/python/${{ inputs.package }}:${{ needs.generate-version.outputs.builddate }}.${{ github.run_id }}