|
@@ -52,8 +52,21 @@ jobs:
|
|
|
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
|
|
|
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
|
|
|
- - name: Build Universal Docker Image
|
|
|
- run: docker manifest create ${{ steps.meta.outputs.tags }} ${{ steps.meta.outputs.tags }}-amd64 ${{ steps.meta.outputs.tags }}-arm64
|
|
|
+ - name: Build Universal Docker Images
|
|
|
+ run: |
|
|
|
+ tags=(${{
|
|
|
+ steps.meta.outputs.tags | fromJson
|
|
|
+ }})
|
|
|
+ for tag in "${tags[@]}"; do
|
|
|
+ docker manifest create "${tag}-${{ inputs.arch }}" "${tag}-amd64" "${tag}-arm64"
|
|
|
+ done
|
|
|
|
|
|
- name: Push Universal Docker Image
|
|
|
- run: docker manifest push ${{ steps.meta.outputs.tags }}
|
|
|
+ run: |
|
|
|
+ tags=(${{
|
|
|
+ steps.meta.outputs.tags | fromJson
|
|
|
+ }})
|
|
|
+ for tag in "${tags[@]}"; do
|
|
|
+ docker manifest push "${tag}-${{ inputs.arch }}"
|
|
|
+ done
|
|
|
+
|