Skip to content

Commit

Permalink
fix(ci): fix building docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Jul 12, 2023
1 parent 3fdb427 commit d2fb7a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM scratch
COPY fga /fga
ENTRYPOINT ["/fga"]
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dockers:
- goos: linux
goarch: amd64

dockerfile: Dockerfile
dockerfile: .goreleaser.Dockerfile

image_templates:
- "openfga/cli:latest-amd64"
Expand All @@ -37,7 +37,7 @@ dockers:
- goos: linux
goarch: arm64

dockerfile: Dockerfile
dockerfile: .goreleaser.Dockerfile

image_templates:
- "openfga/cli:latest-arm64"
Expand Down

0 comments on commit d2fb7a8

Please sign in to comment.