Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <[email protected]>
Co-authored-by: Chris Martin <[email protected]>
  • Loading branch information
d80tb7 and d80tb7 authored Feb 5, 2024
1 parent 906db96 commit 2e20ca6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@ builds:
- linux
goarch:
- amd64
- env: [ CGO_ENABLED=0 ]
id: queryapi
binary: queryapi
main: ./cmd/queryapi/main.go
mod_timestamp: '{{ .CommitTimestamp }}'
goos:
- linux
goarch:
- amd64
- env: [CGO_ENABLED=0]
id: armadactl
binary: armadactl
Expand Down Expand Up @@ -439,6 +448,20 @@ dockers:
- config/binoculars/config.yaml
dockerfile: ./build_goreleaser/binoculars/Dockerfile

- id: queryapi
use: buildx
goos: linux
goarch: amd64
image_templates:
- "{{ .Env.DOCKER_REPO }}armada-queryapi:latest"
- "{{ .Env.DOCKER_REPO }}armada-queryapi:{{ .Version }}"
build_flag_templates: *BUILD_FLAG_TEMPLATES
ids:
- queryapi
extra_files:
- config/queryapi/config.yaml
dockerfile: ./build_goreleaser/queryapi/Dockerfile

- id: jobservice
use: buildx
goos: linux
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/queryapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada
USER armada

COPY queryapi /app/
COPY config/queriapi/config.yaml /app/config/queryapi/config.yaml
COPY config/queryapi/config.yaml /app/config/queryapi/config.yaml

WORKDIR /app

Expand Down

0 comments on commit 2e20ca6

Please sign in to comment.