Skip to content

Commit 0ac5886

Browse files
SKB-TECHShadow243
authored andcommitted
[Fix]Neghtly-Image:correction of the Neghtly-Image file to push code every midnight
1 parent ed410db commit 0ac5886

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

.github/workflows/Nightly-Image.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ on:
1414
- cron: "0 0 * * *"
1515
push:
1616
branches:
17-
- master
17+
- "*"
1818
workflow_dispatch:
1919

2020
jobs:
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:
@@ -39,30 +35,6 @@ jobs:
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

.github/workflows/Test-Build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)