Skip to content

Commit

Permalink
use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk committed May 15, 2024
1 parent 6443747 commit dcde488
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docker/autoware-openadk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ group "default" {
target "prebuilt" {
dockerfile = "docker/autoware-openadk/Dockerfile"
target = "prebuilt"
tags = ["ghcr.io/${GITHUB_REPOSITORY}/prebuilt:latest"]
cache-from = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache,mode=max"]
tags = ["ghcr.io/youtalk/autoware/prebuilt:latest"]
cache-from = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache,mode=max"]
}

target "devel" {
dockerfile = "docker/autoware-openadk/Dockerfile"
target = "devel"
tags = ["ghcr.io/${GITHUB_REPOSITORY}/devel:latest"]
cache-from = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache,mode=max"]
tags = ["ghcr.io/youtalk/autoware/devel:latest"]
cache-from = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache,mode=max"]
}

target "runtime" {
dockerfile = "docker/autoware-openadk/Dockerfile"
target = "runtime"
tags = ["ghcr.io/${GITHUB_REPOSITORY}/runtime:latest"]
cache-from = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/${GITHUB_REPOSITORY}:buildcache,mode=max"]
tags = ["ghcr.io/youtalk/autoware/runtime:latest"]
cache-from = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache"]
cache-to = ["type=registry,ref=ghcr.io/youtalk/autoware:buildcache,mode=max"]
}

0 comments on commit dcde488

Please sign in to comment.