File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches :
88 - development
99 paths :
10+ - .github/**
1011 - module/**
1112 - netbox-sync.py
1213 - requirements.txt
3637 with :
3738 string : ${{ github.repository }}
3839
40+ - name :
41+ uses : mad9000/actions-find-and-replace-string@5
42+ id : dockerhub_image
43+ with :
44+ source : ${{ steps.docker_image.outputs.lowercase }}
45+ find : ' bb-ricardo'
46+ replace : ' bbricardo'
47+
3948 - name : Log in to GitHub Container Registry
4049 uses : docker/login-action@v3
4150 with :
@@ -71,16 +80,25 @@ jobs:
7180 id : meta_dhub
7281 uses : docker/metadata-action@v5
7382 with :
74- images : docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/${{ steps.docker_image.outputs.lowercase }}
83+ images : docker.io/${{ steps.dockerhub_image.value }}
7584 tags : |
7685 type=semver,pattern={{version}}
7786 type=ref,event=branch
7887
79- - name : Build and push with tags - ${{ steps.meta_dhub.outputs.tags }}
88+ - name : Build and push with tags - ${{ steps.dockerhub_image.value }}
8089 uses : docker/build-push-action@v6
8190 with :
8291 context : .
8392 push : true
8493 platforms : linux/amd64,linux/arm64
8594 tags : ${{ steps.meta_dhub.outputs.tags }}
8695 labels : ${{ steps.meta_dhub.outputs.labels }}
96+
97+ - name : push README to Dockerhub
98+ uses : christian-korneck/update-container-description-action@v1
99+ env :
100+ DOCKER_USER : ${{ secrets.DOCKER_HUB_USERNAME }}
101+ DOCKER_PASS : ${{ secrets.DOCKER_HUB_PASSWORD }}
102+ with :
103+ destination_container_repo : ${{ steps.dockerhub_image.value }}
104+ provider : dockerhub
You can’t perform that action at this time.
0 commit comments