File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 username : ${{ github.actor }}
3939 password : ${{ secrets.GITHUB_TOKEN }}
4040 - name : Build docker image
41- run : basalt build -t ${{ env.TAG }} ./basalt.toml
41+ run : basalt build -t ${{ env.TAG }}-${{ matrix.arch }} ./basalt.toml
4242 working-directory : all-the-langs
4343 - name : Push image to GHCR
44- run : docker push ${{ env.TAG }}
44+ run : docker push ${{ env.TAG }}-${{ matrix.arch }}
45+
46+ all-the-langs-manifest :
47+ needs : all-the-langs
48+ runs-on : ubuntu-24.04
49+ permissions :
50+ contents : read
51+ packages : write
52+ steps :
53+ - name : Log in to GHCR
54+ uses : docker/login-action@v3
55+ with :
56+ registry : ghcr.io
57+ username : ${{ github.actor }}
58+ password : ${{ secrets.GITHUB_TOKEN }}
59+
60+ - name : Create and push multi-arch manifest for main
61+ run : |
62+ docker buildx imagetools create \
63+ -t ghcr.io/${{ github.repository }}/all-the-langs:main \
64+ ghcr.io/${{ github.repository }}/all-the-langs:main-amd64 \
65+ ghcr.io/${{ github.repository }}/all-the-langs:main-arm64
You can’t perform that action at this time.
0 commit comments