mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fixe pipeline error on docker build
This commit is contained in:
@@ -6,7 +6,7 @@ pipelines:
|
|||||||
script:
|
script:
|
||||||
- export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7)
|
- export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7)
|
||||||
- export IMAGE_NAME=gabinetedigital/gdsite:$BITBUCKET_COMMIT_SHORT
|
- export IMAGE_NAME=gabinetedigital/gdsite:$BITBUCKET_COMMIT_SHORT
|
||||||
- docker build -t $IMAGE_NAME -f .
|
- docker build -t $IMAGE_NAME .
|
||||||
- docker login --username $DOCKER_USER --password $DOCKER_PASS
|
- docker login --username $DOCKER_USER --password $DOCKER_PASS
|
||||||
- docker push $IMAGE_NAME
|
- docker push $IMAGE_NAME
|
||||||
- step:
|
- step:
|
||||||
|
|||||||
Reference in New Issue
Block a user