fixe pipeline error on docker build

This commit is contained in:
Evandre Da Silva
2022-06-02 16:13:42 +01:00
parent c707e357a3
commit c64fe0dec1
+1 -1
View File
@@ -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: