1212 push :
1313 branches :
1414 - ' master'
15+ - ' iamthefij'
1516 tags :
1617 - ' v*'
1718 pull_request :
1819
1920env :
20- DOCKERHUB_SLUG : crazymax/diun
21- GHCR_SLUG : ghcr.io/crazy-max/diun
21+ GHCR_SLUG : ghcr.io/iamthefij/diun
2222 DESTDIR : ./bin
2323 DOCKER_BUILD_SUMMARY : false
2424
8585 source : .
8686 targets : test
8787 pull : true
88- -
89- name : Upload coverage
90- uses : codecov/codecov-action@v5
91- with :
92- directory : ${{ env.DESTDIR }}/coverage
93- token : ${{ secrets.CODECOV_TOKEN }}
9488
9589 artifact :
9690 runs-on : ubuntu-latest
@@ -216,7 +210,6 @@ jobs:
216210 uses : docker/metadata-action@v5
217211 with :
218212 images : |
219- ${{ env.DOCKERHUB_SLUG }}
220213 ${{ env.GHCR_SLUG }}
221214 tags : |
222215 type=semver,pattern={{version}}
@@ -234,13 +227,6 @@ jobs:
234227 -
235228 name : Set up Docker Buildx
236229 uses : docker/setup-buildx-action@v3
237- -
238- name : Login to DockerHub
239- if : github.event_name != 'pull_request'
240- uses : docker/login-action@v3
241- with :
242- username : ${{ secrets.DOCKER_USERNAME }}
243- password : ${{ secrets.DOCKER_PASSWORD }}
244230 -
245231 name : Login to GHCR
246232 if : github.event_name != 'pull_request'
@@ -266,13 +252,10 @@ jobs:
266252 name : Check manifest
267253 if : github.event_name != 'pull_request'
268254 run : |
269- docker buildx imagetools inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
270255 docker buildx imagetools inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
271256 -
272257 name : Inspect image
273258 if : github.event_name != 'pull_request'
274259 run : |
275- docker pull ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
276- docker image inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
277260 docker pull ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
278261 docker image inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
0 commit comments