File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,25 @@ jobs:
2828 helm lint infra/helm/zippy
2929
3030 - name : Login to Docker Hub
31+ env :
32+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
3133 if : env.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3234 uses : docker/login-action@v3
3335 with :
3436 username : ${{ secrets.DOCKERHUB_USERNAME }}
3537 password : ${{ secrets.DOCKERHUB_TOKEN }}
3638
3739 - name : Push images
40+ env :
41+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
3842 if : env.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3943 run : |
4044 docker image ls | grep ${{ env.DOCKER_TAG }} | awk '{ print $1 }' | xargs -I {} echo docker tag {}:${{ env.DOCKER_TAG }} {}:${{ github.ref_name }} | bash
4145 REGISTRY_NAMESPACE=alchemyfr/ps- DOCKER_TAG=${{ github.ref_name }} docker compose push
4246
4347 - name : Push latest
48+ env :
49+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
4450 if : env.DOCKERHUB_USERNAME != null && startsWith(github.ref, 'refs/tags/')
4551 run : |
4652 LATEST_TAG=$(curl \
You can’t perform that action at this time.
0 commit comments