@@ -13,17 +13,11 @@ jobs:
13
13
name : Checkout
14
14
uses : actions/checkout@v4
15
15
-
16
- name : Set up QEMU
17
- uses : docker/setup-qemu-action@v3
18
- with :
19
- platforms : linux/amd64,linux/arm64
20
- -
21
- name : Set up Docker Buildx
22
- id : buildx
23
- uses : docker/setup-buildx-action@v3
16
+ name : Login to DockerHub
17
+ uses : docker/login-action@v3
24
18
with :
25
- install : true
26
- driver-opts : network=host
19
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
20
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27
21
-
28
22
name : Docker meta
29
23
id : meta
@@ -39,19 +33,25 @@ jobs:
39
33
org.opencontainers.image.description=In-depth attack surface mapping and asset discovery
40
34
org.opencontainers.image.vendor=OWASP Foundation
41
35
-
42
- name : Login to DockerHub
43
- uses : docker/login -action@v3
36
+ name : Set up QEMU
37
+ uses : docker/setup-qemu -action@v3
44
38
with :
45
- username : ${{ secrets.DOCKERHUB_USERNAME }}
46
- password : ${{ secrets.DOCKERHUB_TOKEN }}
39
+ platforms : linux/amd64,linux/arm64
40
+ -
41
+ name : Set up Docker Buildx
42
+ id : buildx
43
+ uses : docker/setup-buildx-action@v3
44
+ with :
45
+ install : true
46
+ driver-opts : network=host
47
47
-
48
48
name : Build and push
49
49
uses : docker/build-push-action@v6
50
50
with :
51
51
context : .
52
+ push : true
52
53
file : ./Dockerfile
53
54
builder : ${{ steps.buildx.outputs.name }}
54
55
platforms : linux/amd64,linux/arm64
55
- push : true
56
56
tags : ${{ steps.meta.outputs.tags }}
57
57
labels : ${{ steps.meta.outputs.labels }}
0 commit comments