Comments (3)
@JohnPaton could you elaborate on your example a little more? Both of your "images" examples are the same.
from cloud-build-local.
Case 1
Given:
# cloudbuild.yaml
steps:
- id: "fake building the image"
name: "gcr.io/cloud-builders/docker"
args:
- pull
- ubuntu
- id: "tag the image"
name: "gcr.io/cloud-builders/docker"
args:
- tag
- ubuntu
- eu.gcr.io/$PROJECT_ID/my_tag
images:
- eu.gcr.io/$PROJECT_ID/my_tag
Then:
cloud-build-local --dryrun=false .
✅ succeedscloud-build-local --dryrun=true .
❌ fails producing the output from my previous comment <- this is the problem
Case 2
Given:
# cloudbuild.yaml
steps:
- id: "fake building the image"
name: "gcr.io/cloud-builders/docker"
args:
- pull
- ubuntu
- id: "tag the image"
name: "gcr.io/cloud-builders/docker"
args:
- tag
- ubuntu
- eu.gcr.io/$PROJECT_ID/my_tag
# Note: `images` array removed
Then:
cloud-build-local --dryrun=false .
✅succeedscloud-build-local --dryrun=true .
✅succeeds
from cloud-build-local.
Close Issue as part of archive process; please see notice of archive status.
from cloud-build-local.
Related Issues (20)
- command not found: cloud-build-local Post-Installation HOT 4
- Substitution in logsBucket is not picked up - cloud-build-local errors out? HOT 2
- cloud-build-local ignores DOCKER_HOST environment variable HOT 2
- errors with successful build HOT 1
- Error loading config file: unknown field "dynamic_substitutions" in cloudbuild.BuildOptions HOT 9
- Error when using comma in substitution key value pair HOT 3
- write-workspace flag can cause performance problems HOT 1
- Error response from daemon: error while removing network: network cloudbuild id XXX has active endpoints HOT 1
- Building without access to GCP credentials HOT 1
- Intermittent spoofed metadata server issues HOT 3
- Docker layer progress not displayed HOT 1
- [bug] inline scripts in `steps[].args` fail validation if env var is not a substitution HOT 2
- Weird maven output HOT 1
- Feature Request: Ability to run specific steps out from cloudbuild.yaml HOT 1
- Support for `availableSecrets` HOT 7
- Substitutions blank error HOT 1
- add option to keep volumes created during build HOT 1
- Support for Artifact Registry HOT 1
- provide a darwin-aarch64 build (for MacOs with M1 CPU) HOT 1
- support to use podman HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-build-local.