Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,882
Community Members
 
Community Events
176
Community Groups

Docker Build Kit Secrets throwing unexpected error

Edited

Help with this would be appreciated!

I'm using docker build kit to pass build secrets.

I'm replicating the documentation found here

The 2 secrets are present in repo vars and they are secure.

My pipeline step looks like this:

Screen Shot 2022-12-15 at 12.04.12 PM.png

I'm getting the following error message:

could not parse secrets: [id=WEBLOGIC_ENCRYPTION_SECRET id=WEBLOGIC_ENCRYPTION_SALT]: failed to stat WEBLOGIC_ENCRYPTION_SECRET: stat WEBLOGIC_ENCRYPTION_SECRET: no such file or directory

 

1 answer

0 votes

Hi @LHernandez,

I haven't been able to reproduce this error so far with a Docker runner and a command similar to yours, the only time I can reproduce this is if the variables do not exist.

I see that you are using a runner for this step.

  1. Can you please confirm if this is a Linux Docker Runner?
  2. What version of the runner are you using? You can find that in the Pipelines build log in the section Runner.
  3. What is the version of Docker on the machine where the runner is running?
  4. Are you using a custom docker-in-docker image for the docker service in the bitbucket-pipelines.yml file?
  5. What output do you get if you add the command docker --version in that step in the bitbucket-pipelines.yml file? 

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events