File tree Expand file tree Collapse file tree 3 files changed +38
-32
lines changed
Expand file tree Collapse file tree 3 files changed +38
-32
lines changed Original file line number Diff line number Diff line change 1+ name : Build Daily Image
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+ jobs :
7+ if : github.repository_owner == 'cypht-org'
8+ build-and-push :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v3
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v2
19+
20+
21+ - name : Log in to Docker Hub
22+ uses : docker/login-action@v2
23+ with :
24+ username : ${{ secrets.DOCKER_USERNAME }}
25+ password : ${{ secrets.DOCKER_PASSWORD }}
26+
27+ - name : Build and push Docker image
28+ uses : docker/build-push-action@v4
29+ with :
30+ context : .
31+ platforms : linux/amd64
32+ file : ./docker/Dockerfile
33+ push : true
34+ tags : cypht/cypht:daily
35+ debug : true
36+
37+ - name : Log out from Docker Hub
38+ run : docker logout
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -140,7 +140,3 @@ jobs:
140140
141141 - name : " Script: test.sh"
142142 run : bash .github/tests/test.sh
143-
144- Call-Image-Build :
145- needs : Test-selenium
146- uses : ./.github/workflows/Nightly-Image.yml
You can’t perform that action at this time.
0 commit comments