Skip to content

Commit ce59b2f

Browse files
committed
additional fixes to the CI/CD workflows
1 parent c410b62 commit ce59b2f

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

.github/workflows/docker.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,11 @@ jobs:
1313
name: Checkout
1414
uses: actions/checkout@v4
1515
-
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
2418
with:
25-
install: true
26-
driver-opts: network=host
19+
username: ${{ secrets.DOCKERHUB_USERNAME }}
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2721
-
2822
name: Docker meta
2923
id: meta
@@ -39,19 +33,25 @@ jobs:
3933
org.opencontainers.image.description=In-depth attack surface mapping and asset discovery
4034
org.opencontainers.image.vendor=OWASP Foundation
4135
-
42-
name: Login to DockerHub
43-
uses: docker/login-action@v3
36+
name: Set up QEMU
37+
uses: docker/setup-qemu-action@v3
4438
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
4747
-
4848
name: Build and push
4949
uses: docker/build-push-action@v6
5050
with:
5151
context: .
52+
push: true
5253
file: ./Dockerfile
5354
builder: ${{ steps.buildx.outputs.name }}
5455
platforms: linux/amd64,linux/arm64
55-
push: true
5656
tags: ${{ steps.meta.outputs.tags }}
5757
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
uses: actions/setup-go@v5
2525
with:
2626
go-version: 1.24.0
27-
-
28-
name: set up CycloneDX
29-
uses: CycloneDX/gh-gomod-generate-sbom@v2
30-
with:
31-
version: v1
3227
-
3328
name: run GoReleaser
3429
uses: goreleaser/goreleaser-action@v6
@@ -37,5 +32,5 @@ jobs:
3732
version: latest
3833
args: release --clean
3934
env:
40-
GITHUB_TOKEN: ${{ secrets.AMASS_TOKEN }}
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4136
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)