Closed mrexhepi closed 1 year ago
Same here. Configuration being
release-staging:
executor:
name: aws-ecr/default
steps:
- aws-ecr/build-and-push-image:
path: backend
dockerfile: Dockerfile-prod
repo: my-docker-registry
tag: staging-${CIRCLE_SHA1},staging-latest
extra-build-args: --build-arg S3_STATIC_BUCKET_NAME=blablabla --build-arg AMPLITUDE_API_KEY=${AMPLITUDE_STAGING_KEY} --build-arg HOTJAR_ID=${HOTJAR_STAGING_ID} --build-arg HOTJAR_SV=${HOTJAR_STAGING_SV}
Output :
+ docker buildx build -f backend/Dockerfile-prod -t ************.dkr.ecr.*********.amazonaws.com/advenir-common-docker-registry:staging-bbb11ded8049e2206bae08e493ce536bb6ce8984 -t ************.dkr.ecr.*********.amazonaws.com/advenir-common-docker-registry:staging-la**** --platform linux/amd64 --progress plain --push '--build-arg S3_STATIC_BUCKET_NAME=advenir-staging-static --build-arg AMPLITUDE_API_KEY=******************************** --build-arg HOTJAR_ID=******* --build-arg HOTJAR_SV=6' .
unknown flag: --build-arg S3_STATIC_BUCKET_NAME
See 'docker buildx build --help'.
Exited with code exit status 125
It worked fine on 8.1.3
Same problem here.
Same issue on our end
Hey Everyone,
I'm taking a look now, thank you!
Brian
Hey Everyone,
I have a fix in place with PR #254. Once I get this merged, I'll cut a new patch release.
Thanks again bringing up this issue so quickly with the all the relevant information for us to test!
Best, Brian
Orb version
8.2.0
What happened
Build it does not recognize any args that previous version was recognizing under
extra-build-args
, and I do not see any change at this part of the config .Error as below:
Config file:
Expected behavior
This should run smoothly .