File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : docker
3+
4+ on :
5+ pull_request :
6+ branches : [main]
7+ paths :
8+ - ' docker-bake.ubuntu.hcl'
9+ - ' Dockerfile.ubuntu-*'
10+ - ' scripts/**'
11+
12+ permissions : {}
13+
14+ jobs :
15+ bake :
16+ name : Bake Ubuntu images
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - if : ${{ github.event_name != 'pull_request' }}
21+ name : Login to DockerHub
22+ uses : docker/login-action@v3
23+ with :
24+ username : ${{ secrets.DOCKER_USERNAME }}
25+ password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
26+
27+ - name : Set up Docker Buildx
28+ uses : docker/setup-buildx-action@v3
29+
30+ - name : Bake and Push
31+ uses : docker/bake-action@v6
32+ with :
33+ push : ${{ github.event_name != 'pull_request' }}
34+ files : docker-bake.ubuntu.hcl
35+ targets : |
36+ base-2404-clang
You can’t perform that action at this time.
0 commit comments