File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
-
26
- name : Login to DockerHub
27
- if : github.event_name != 'pull_request'
28
- uses : docker/login-action@v3
29
- with :
30
- username : ${{ vars.DOCKERPUBLICBOT_USERNAME }}
31
- password : ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
26
+ name : Checkout
27
+ uses : actions/checkout@v4
32
28
-
33
29
name : Set up QEMU
34
30
uses : docker/setup-qemu-action@v3
@@ -56,13 +52,21 @@ jobs:
56
52
org.opencontainers.image.title=BuildKit Syft scanner
57
53
org.opencontainers.image.description=SBOM generation for BuildKit images
58
54
org.opencontainers.image.vendor=Docker Inc.
55
+ -
56
+ name : Login to DockerHub
57
+ if : github.event_name != 'pull_request'
58
+ uses : docker/login-action@v3
59
+ with :
60
+ username : ${{ vars.DOCKERPUBLICBOT_USERNAME }}
61
+ password : ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
59
62
-
60
63
name : Build
61
64
uses : docker/bake-action@v6
62
65
with :
66
+ source : .
63
67
files : |
64
68
./docker-bake.hcl
65
- cwd:// ${{ steps.meta.outputs.bake-file }}
69
+ ${{ steps.meta.outputs.bake-file }}
66
70
targets : image-all
67
71
push : ${{ github.event_name != 'pull_request' }}
68
72
set : |
You can’t perform that action at this time.
0 commit comments