Skip to content

Commit 1a2455c

Browse files
committed
fix: use Dockerfile dev stage instead of missing Dockerfile.dev in CI
1 parent 370b6fa commit 1a2455c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
uses: docker/build-push-action@v7
3636
with:
3737
push: true
38-
file: "./Dockerfile.dev"
38+
file: "./Dockerfile"
39+
target: dev
3940
tags: raystack/compass:dev
4041
cache-from: type=gha
4142
cache-to: type=gha,mode=max

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY . .
1111
RUN CGO_ENABLED=0 go build -ldflags "-X github.com/raystack/compass/cli.Version=${VERSION}" -o compass
1212

1313
# Dev stage — default target, builds from source
14-
FROM alpine:3.21
14+
FROM alpine:3.21 AS dev
1515
COPY --from=builder /build/compass /usr/bin/compass
1616
RUN apk add --no-cache ca-certificates libc6-compat
1717
ENTRYPOINT ["compass"]

0 commit comments

Comments
 (0)