Skip to content

Commit

Permalink
build: separate refinery-cli Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
kris7t committed Jun 23, 2024
1 parent 9f70f39 commit 2befbbc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ variable "REFINERY_VERSION" {
default = ""
}

variable "REFINERY_ANNOTATIONS" {
default = ""
}

group "default" {
targets = ["cli", "web"]
}
Expand All @@ -20,7 +24,7 @@ target "cli" {
dockerfile = "Dockerfile.cli"
platforms = ["linux/amd64", "linux/arm64"]
output = [
"type=image,\"name=ghcr.io/graphs4value/refinery:cli-${REFINERY_VERSION},ghcr.io/graphs4value/refinery:cli\",push=true,annotation-index.org.opencontainers.image.source=https://github.com/graphs4value/refinery,annotation-index.org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models,annotation-index.org.opencontainers.image.licenses=EPL-2.0"
"type=image,\"name=ghcr.io/graphs4value/refinery-cli:${REFINERY_VERSION},ghcr.io/graphs4value/refinery-cli:latest\",push=true,annotation-index.org.opencontainers.image.source=https://github.com/graphs4value/refinery,\"annotation-index.org.opencontainers.image.description=Command line interface for Refinery, an efficient graph solver for generating well-formed models\",annotation-index.org.opencontainers.image.licenses=EPL-2.0"
]
contexts = {
base = "target:base"
Expand All @@ -32,6 +36,7 @@ target "web" {
platforms = ["linux/amd64", "linux/arm64"]
output = [
"type=image,\"name=ghcr.io/graphs4value/refinery:${REFINERY_VERSION},ghcr.io/graphs4value/refinery:latest\",push=true,annotation-index.org.opencontainers.image.source=https://github.com/graphs4value/refinery,annotation-index.org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models,annotation-index.org.opencontainers.image.licenses=EPL-2.0"

]
contexts = {
base = "target:base"
Expand Down

0 comments on commit 2befbbc

Please sign in to comment.