Comments (3)
I managed to make it work by doing the following :
version: 2.1
orbs:
gcp-gcr: circleci/[email protected]
workflows:
version: 2
build:
jobs:
- gcp-gcr/build-and-push-image:
dockerfile: frontend/Dockerfile
image: eu.gcr.io/${PROJECT_ID}/frontend
tag: $CIRCLE_BRANCH
path: ~/project/frontend/
- gcp-gcr/build-and-push-image:
dockerfile: backend/Dockerfile
image: eu.gcr.io/${PROJECT_ID}/backend
tag: $CIRCLE_BRANCH
path: ~/project/backend/
Shouldn't the job handle the fact that with a path, the docker file should be equal to <<parameters.path>>/$<<parameters.dockerfile>>
with dockerfile
being defaulted to Dockerfile
?
from gcp-gcr-orb.
@girards Thanks for sharing a workaround! I've put this on our backlog to address. This issue can likely be fixed by updating the version of circleci/docker
orb used by the circleci/gcp-gcr
orb.
from gcp-gcr-orb.
Agreed, I understand the current design but we could consider this in a major change to the docker orb. Going to close this issue for now and reference from the docker orb.
from gcp-gcr-orb.
Related Issues (20)
- gcloud-cli install taking 50+ seconds every build HOT 3
- extra_build_args case inconsistencies HOT 3
- How do I tag the branch name slug in gcp-gcr/tag-image? HOT 2
- Config files using the gcp-gcr orb are invalid HOT 4
- Need a timeout parameter, just like in the AWS ECR Orb HOT 2
- Add option to set version parameter of setup_remote_docker
- Support artifact registry Docker repository. HOT 6
- `extra_build_args` parameter causes docker build error
- Build and push multiple tags HOT 3
- Orb needs storage.buckets.create
- Google Cloud SDK is Unavailable HOT 1
- Not working anymore under Ubuntu 22.04 HOT 2
- Option to use buildkit HOT 2
- Artifact Registry Push Docker Images HOT 1
- docker push failing with 0.15.1 patch HOT 4
- Unable to use interpolated var for pipeline values for "image:" in build-and-push-image job HOT 1
- Using gcp-gcr orb with OIDC auth from gcp-cli orb? HOT 8
- tag-image command doesn't expand envvars
- The version installed (451.0.0) differs from the version requested (451.0.1)
- The version installed (458.0.1) differs from the version requested (459.0.0). Uninstalling v458.0.1 HOT 3
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 gcp-gcr-orb.