mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 18:59:35 +02:00
Use bazel rules to build docker image and push to GCR
Using bazel to build and push image result in reproducible builds. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187252645
This commit is contained in:
parent
9e3fb8b93c
commit
753a269357
6 changed files with 53 additions and 88 deletions
|
@ -20,7 +20,7 @@ spec:
|
|||
secretName: proxy-account
|
||||
containers:
|
||||
- name: proxy
|
||||
image: INSERT_YOUR_IMAGE_NAME_HERE
|
||||
image: gcr.io/GCP_PROJECT/IMAGE_NAME:bazel
|
||||
ports:
|
||||
- containerPort: 30000
|
||||
name: health-check
|
||||
|
@ -41,6 +41,7 @@ spec:
|
|||
volumeMounts:
|
||||
- name: service-account
|
||||
mountPath: /var/secrets/google
|
||||
imagePullPolicy: Always
|
||||
args: ["--log"]
|
||||
env:
|
||||
- name: GOOGLE_APPLICATION_CREDENTIALS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue