Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

pipeline issue using docker file

Anis Halleb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2023

I am about to set up a pipline based on a docker image for my node js project.

this is my yaml file:

image: docker:latest

pipelines:
  branches:
    develop:
      - step:
        name: Build and Deploy develop
     caches:
- docker
services:
- docker
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- export DOCKER_BUILDKIT=1
- docker build -t api .
- docker tag api repo/api:latest
- docker push repo/api:latest

every time when the pipeline is launched i got this error:
Screenshot from 2023-02-20 19-31-09.png

 

1 answer

1 accepted

0 votes
Answer accepted
Anis Halleb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2023

it was resolved by disabling the buildKit :

- export DOCKER_BUILDKIT=0

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events