Hello team,
I am testing public docker images and this is my case:
I pulled in my local public image "atlassian/default-image:4", I tag and I push in my public DockerHub "s4gconsulting/bitbucket", in other words, the same image with different name within my public DockerHub.
Well, i have the next YML that pointing Atlassian public DockerHub:
## Depth to clone project
clone:
depth: full
## Use S4G image to manage Salesforce code
image:
name: atlassian/default-image:4
pipelines:
default:
- step:
name: Validate Docker Image
script:
- echo "Public image OK"
The result with this public image is OK, and has the same code SHA
Now, I want use my public Docker image, which is a copy from "atlassian/default-image:4", so, my updated YML is:
## Depth to clone project
clone:
depth: full
## Use S4G image to manage Salesforce code
image:
name: s4gconsulting/bitbucket:latest
pipelines:
default:
- step:
name: Validate Docker Image
script:
- echo "Public image OK"
The public image was pulled (code SHA is right), but the result is ERR:
If the public images are pulled for each pipeline:
Please, help 😥
Hi @ferpaxecosanxez,
Thank you for reaching out to the community.
The reason why your Pipelines build is failing while using the custom Docker image (s4gconsulting/bitbucket:latest) is that it was built using linux/arm64 architecture.
For comparison, you can check the following links and notice the "OS/ARCH" field:
Unfortunately, we do not officially support ARM images on Bitbucket Cloud Pipelines infrastructure at the moment.
We do have an existing feature request for it that can be located through this link. - https://jira.atlassian.com/browse/BCLOUD-15317
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
For now, you can rebuild your custom Docker image and use linux/amd64 architecture instead.
Hope it helps and let me know how it goes.
Regards,
Mark C
Hi @Mark C,
Indeed, when generating an image with the linux/amd64 architecture, everything works correctly.
As a suggestion, that error could be reported by pipeline logs like: Currently the architecture "linux/arm64" is not supported.
Thank you very much 😊
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.