Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json2grpcのコンテナイメージをビルドするフローを作成 #255

Merged
merged 3 commits into from
Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ jobs:
with:
files: ./docker-bake.hcl
push: ${{ github.event_name == 'push' && startsWith( steps.extract_branch.outputs.branch , 'deployment' ) }}
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
19 changes: 18 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
group "default" {
targets = ["auto-operation", "external", "internal", "multicaster", "positioning", "webrtc-sender", "frontend", "receiver-test", "logviewer"]
targets = [
"auto-operation",
"external",
"internal",
"json2grpc",
"multicaster",
"positioning",
"webrtc-sender",
"frontend",
"receiver-test",
"logviewer",
]
}

variable "PREFIX" {
Expand Down Expand Up @@ -35,6 +46,12 @@ target "internal" {
GET_TAG("internal")
]
}
target "json2grpc" {
context = "./backend/json2grpc"
tags = [
GET_TAG("json2grpc")
]
}

target "multicaster" {
context = "./backend/multicaster"
Expand Down