File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ jobs:
2828 helm lint infra/helm/zippy
2929
3030 - name : Login to Docker Hub
31- if : secrets .DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
31+ if : env .DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3232 uses : docker/login-action@v3
3333 with :
3434 username : ${{ secrets.DOCKERHUB_USERNAME }}
3535 password : ${{ secrets.DOCKERHUB_TOKEN }}
3636
3737 - name : Push images
38- if : secrets .DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
38+ if : env .DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3939 run : |
4040 docker image ls | grep ${{ env.DOCKER_TAG }} | awk '{ print $1 }' | xargs -I {} echo docker tag {}:${{ env.DOCKER_TAG }} {}:${{ github.ref_name }} | bash
4141 REGISTRY_NAMESPACE=alchemyfr/ps- DOCKER_TAG=${{ github.ref_name }} docker compose push
4242
4343 - name : Push latest
44- if : secrets .DOCKERHUB_USERNAME != null && startsWith(github.ref, 'refs/tags/')
44+ if : env .DOCKERHUB_USERNAME != null && startsWith(github.ref, 'refs/tags/')
4545 run : |
4646 LATEST_TAG=$(curl \
4747 -H "Accept: application/vnd.github+json" \
You can’t perform that action at this time.
0 commit comments