From c457c6663e8eb6d336b5a83c155ffe9242f8c9ce Mon Sep 17 00:00:00 2001 From: Nutchayut Kanjanakuladit Date: Wed, 2 Aug 2023 07:35:39 +0000 Subject: [PATCH] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 8b3a0b0..7053ced 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -2,9 +2,6 @@ image: atlassian/default-image:2 pipelines: default: - step: - size: 2x - services: - - docker runs-on: - self.hosted - linux @@ -14,6 +11,14 @@ pipelines: - docker caches: - dotnetcore + script: # Modify the commands below to build your repository. + # - dotnet restore + # - dotnet build + - docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD + #- docker build -f Dockerfile.dev -t 71dev/rsu-reports-api:dev . + - docker build -f Dockerfile.dev -t registry.71dev.com/rsu-reports-api:dev . + - docker push registry.71dev.com/rsu-reports-api:dev + #- docker push 71dev/rsu-reports-api:dev script: - docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD - docker build -f Dockerfile.dev -t registry.71dev.com/rmutr_report:latest .