File tree Expand file tree Collapse file tree 2 files changed +1
-30
lines changed
Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change 1414 - cron : " 0 0 * * *"
1515 push :
1616 branches :
17- - master
17+ - " * "
1818 workflow_dispatch :
1919
2020jobs :
2121 build-and-push :
2222 runs-on : ubuntu-latest
2323
24- env :
25- DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
26- DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
27-
2824 strategy :
2925 matrix :
3026 include :
3935 - name : Set up Docker Buildx
4036 uses : docker/setup-buildx-action@v2
4137
42- # Debugging steps for DOCKER_USERNAME
43- - name : Verify DOCKER_USERNAME is set
44- run : |
45- if [ -z "$DOCKER_USERNAME" ]; then
46- echo "DOCKER_USERNAME is empty or not set!"
47- exit 1
48- else
49- echo "DOCKER_USERNAME is set."
50- fi
51-
52- - name : Output partial DOCKER_USERNAME
53- run : |
54- echo "Partial DOCKER_USERNAME: ${DOCKER_USERNAME:0:3}***"
55-
56- - name : Debug DOCKER_USERNAME length
57- run : |
58- echo "Length of DOCKER_USERNAME: ${#DOCKER_USERNAME}"
59-
60- - name : Encode and Debug DOCKER_USERNAME
61- run : |
62- echo "Encoded DOCKER_USERNAME: $(echo -n "$DOCKER_USERNAME" | base64)"
63-
64- - name : Log Environment Variables
65- run : env
6638
6739 - name : Log in to Docker Hub
6840 uses : docker/login-action@v2
Original file line number Diff line number Diff line change @@ -142,5 +142,4 @@ jobs:
142142 run : bash .github/tests/test.sh
143143
144144 Call-Image-Build :
145- needs : Test-selenium
146145 uses : ./.github/workflows/Nightly-Image.yml
You can’t perform that action at this time.
0 commit comments