We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370b6fa commit 1a2455cCopy full SHA for 1a2455c
.github/workflows/main.yml
@@ -35,7 +35,8 @@ jobs:
35
uses: docker/build-push-action@v7
36
with:
37
push: true
38
- file: "./Dockerfile.dev"
+ file: "./Dockerfile"
39
+ target: dev
40
tags: raystack/compass:dev
41
cache-from: type=gha
42
cache-to: type=gha,mode=max
Dockerfile
@@ -11,7 +11,7 @@ COPY . .
11
RUN CGO_ENABLED=0 go build -ldflags "-X github.com/raystack/compass/cli.Version=${VERSION}" -o compass
12
13
# Dev stage — default target, builds from source
14
-FROM alpine:3.21
+FROM alpine:3.21 AS dev
15
COPY --from=builder /build/compass /usr/bin/compass
16
RUN apk add --no-cache ca-certificates libc6-compat
17
ENTRYPOINT ["compass"]
0 commit comments