File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 66
77# Not caching with kaniko due to https://github.com/GoogleContainerTools/kaniko/issues/713
88steps :
9- - name : gcr.io/cloud-builders/docker
10- entrypoint : ' bash'
11- args :
12- - -c
13- - ' docker pull gcr.io/$PROJECT_ID/publish:latest; docker build -t gcr.io/$PROJECT_ID/publish:latest --cache-from gcr.io/$PROJECT_ID/publish:latest --build-arg SHORT_SHA=$SHORT_SHA --build-arg TAG_NAME=$TAG_NAME --build-arg NPM_TOKEN=$(echo $$NPM_TOKEN) . && docker push gcr.io/$PROJECT_ID/publish:latest'
14- secretEnv : ['NPM_TOKEN']
9+ - name : gcr.io/cloud-builders/docker
10+ entrypoint : ' bash'
11+ args :
12+ - -c
13+ - ' docker pull gcr.io/$PROJECT_ID/publish:latest; docker build -t gcr.io/$PROJECT_ID/publish:latest --cache-from gcr.io/$PROJECT_ID/publish:latest --build-arg SHORT_SHA=$SHORT_SHA --build-arg TAG_NAME=$TAG_NAME --build-arg NPM_TOKEN=$(echo $$NPM_TOKEN) . && docker push gcr.io/$PROJECT_ID/publish:latest'
14+ secretEnv : ['NPM_TOKEN']
1515
1616secrets :
17- - kmsKeyName : projects/reactfire/locations/global/keyRings/cloud-build/cryptoKeys/cloud-build
18- secretEnv :
19- NPM_TOKEN : CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78
17+ - kmsKeyName : projects/reactfire/locations/global/keyRings/cloud-build/cryptoKeys/cloud-build
18+ secretEnv :
19+ NPM_TOKEN : CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78
20+
21+ timeout : 1800s
You can’t perform that action at this time.
0 commit comments