File tree Expand file tree Collapse file tree 2 files changed +9
-62
lines changed
Expand file tree Collapse file tree 2 files changed +9
-62
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,29 @@ jobs:
2020 id : meta
2121 uses : docker/metadata-action@v5
2222 with :
23- images : ${{ vars.DOCKER_USERNAME }}/cmnw-next
23+ images : ghcr.io/ ${{ github.repository }}
2424 tags : |
2525 type=semver,pattern={{version}}
2626 type=semver,pattern={{major}}.{{minor}}
2727 type=semver,pattern={{major}}
2828 type=ref,event=tag
29+ labels : |
30+ org.opencontainers.image.title=CMNW-NEXT
31+ org.opencontainers.image.vendor=AlexZeDim
32+ org.opencontainers.image.source=https://github.com/${{ github.repository }}
2933
3034 - name : Set up QEMU
3135 uses : docker/setup-qemu-action@v3
3236
3337 - name : Set up Docker Buildx
3438 uses : docker/setup-buildx-action@v3
3539
36- - name : Log in to Docker Hub
40+ - name : Log in to GitHub Container Registry
3741 uses : docker/login-action@v3
3842 with :
39- username : ${{ vars.DOCKER_USERNAME }}
40- password : ${{ secrets.DOCKER_PASSWORD }}
43+ registry : ghcr.io
44+ username : ${{ github.actor }}
45+ password : ${{ secrets.GITHUB_TOKEN }}
4146
4247 - name : Build and push
4348 uses : docker/build-push-action@v6
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments