File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 5858 path : ${{ runner.temp }}/digests/*
5959 if-no-files-found : error
6060 retention-days : 1
61+
62+ publish-docker-image :
63+ name : Publish Docker image
64+
65+ runs-on : ubuntu-latest
66+
67+ needs :
68+ - build-docker-image
69+
70+ steps :
71+ - name : Download digests
72+ uses : actions/download-artifact@v4
73+ with :
74+ path : ${{ runner.temp }}/digests
75+ pattern : digests-*
76+ merge-multiple : true
77+
78+ - name : Login to GHCR
79+ uses : docker/login-action@v3
80+ with :
81+ registry : ghcr.io
82+ username : ${{ github.actor }}
83+ password : ${{ secrets.GITHUB_TOKEN }}
84+
85+ - name : Set up Docker Buildx
86+ uses : docker/setup-buildx-action@v3
87+
88+ - name : Create manifest list and push
89+ working-directory : ${{ runner.temp }}/digests
90+ run : |
91+ docker buildx imagetools create -t ghcr.io/louismt/ddns-proxy:latest \
92+ $(printf 'ghcr.io/louismt/ddns-proxy@sha256:%s ' *)
You can’t perform that action at this time.
0 commit comments