File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 77 branches :
88 - main
99
10+ env :
11+ REGISTRY : ghcr.io
12+ # This has to be lowercase
13+ IMAGE_NAME : asahilinux/mkdocs-asahi
14+
1015jobs :
1116 build-and-push :
1217 runs-on : ubuntu-latest
1823 uses : docker/login-action@v3
1924 if : github.event_name != 'pull_request'
2025 with :
21- registry : ghcr.io
26+ registry : ${{ env.REGISTRY }}
2227 username : ${{ github.actor }}
2328 password : ${{ secrets.GITHUB_TOKEN }}
2429 - name : Setup Docker Buildx
2732 uses : docker/build-push-action@v6
2833 with :
2934 platforms : linux/amd64,linux/arm64
30- tags : ghcr.io/AsahiLinux/mkdocs-asahi :latest
35+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} :latest
3136 push : ${{ github.event_name != 'pull_request' }}
3237 cache-from : type=gha
3338 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments