We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 726ea5c commit 3daba34Copy full SHA for 3daba34
1 file changed
.github/workflows/docker-ubuntu.yml
@@ -0,0 +1,38 @@
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
33
+ push: ${{ github.event_name != 'pull_request' }}
34
+ files: docker-bake.ubuntu.hcl
35
+ targets: |
36
+ base-2404-clang
37
+ # default
38
+ # base-2004-clang-aarch64
0 commit comments