File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,19 @@ jobs:
52
52
registry : ghcr.io
53
53
username : ${{ github.repository_owner }}
54
54
password : ${{ secrets.GITHUB_TOKEN }}
55
- - uses : int128/docker-manifest-create-action@v2
56
- id : manifest
57
- with :
58
- tags : |
59
- ghcr.io/${{ github.repository }}:${{ matrix.version }}
60
- sources : |
61
- ghcr.io/${{ github.repository }}-linux-amd64:${{ matrix.version }}
55
+ - name : Create
56
+ run : |
57
+ docker manifest create ghcr.io/${{ github.repository }}:${{ matrix.version }} \
58
+ --amend ghcr.io/${{ github.repository }}-linux-amd64:${{ matrix.version }} \
59
+ --amend ghcr.io/${{ github.repository }}-linux-arm64:${{ matrix.version }}
60
+ - name : Annotate
61
+ run : |
62
+ docker manifest annotate --arch arm64 --os linux \
63
+ ghcr.io/${{ github.repository }}:${{ matrix.version }} \
62
64
ghcr.io/${{ github.repository }}-linux-arm64:${{ matrix.version }}
63
- index-annotations : |
64
- org.opencontainers.image.source=https://github.com/${{ github.repository }}
65
- org.opencontainers.image.version=${{ matrix.version }}
65
+ docker manifest annotate --arch amd64 --os linux \
66
+ ghcr.io/${{ github.repository }}:${{ matrix.version }} \
67
+ ghcr.io/${{ github.repository }}-linux-amd64:${{ matrix.version }}
68
+ - name : Push
69
+ run : |
70
+ docker manifest push ghcr.io/${{ github.repository }}:${{ matrix.version }}
You can’t perform that action at this time.
0 commit comments