Skip to content

Commit ae03ea2

Browse files
authored
Fix Build (#1)
* Fix CLI name * Add configs/ dir to docker context
1 parent caac1f8 commit ae03ea2

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.goreleaser/goreleaser-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ dockers:
6666
- "--label=org.opencontainers.image.url=https://method.security"
6767
- "--label=org.opencontainers.image.documentation=https://github.com/method-security/codeanalyze"
6868
- "--platform=linux/amd64"
69+
extra_files:
70+
- configs/
6971
- image_templates:
7072
- "ghcr.io/method-security/codeanalyze:{{ .Version }}-arm64"
7173
- "ghcr.io/method-security/codeanalyze:latest-arm64"
@@ -85,6 +87,8 @@ dockers:
8587
- "--label=org.opencontainers.image.url=https://method.security"
8688
- "--label=org.opencontainers.image.documentation=https://github.com/method-security/codeanalyze"
8789
- "--platform=linux/arm64"
90+
extra_files:
91+
- configs/
8892

8993
docker_manifests:
9094
- name_template: 'ghcr.io/method-security/codeanalyze:{{ .Version }}'

Dockerfile.builder

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Dockerfile used for the compilation of the statically compiled binary
22
FROM golang:1.22.4-alpine3.20 as base
33
ARG GORELEASER_VERSION="v2.0.1"
4-
ARG CLI_NAME="networkscan"
5-
ARG TARGETARCH
4+
ARG CLI_NAME="codeanalyze"
65

76
RUN \
87
apk add --no-cache git python3-dev gcc musl-dev bash && \

0 commit comments

Comments
 (0)