diff --git a/project-maven-azure-docker/buildV2.yml b/project-maven-azure-docker/buildV2.yml index d2de2a250949df57bfe793adfe8a58238c2d331a..877dedc171ca516e7176a873acd60f09db7ab3c4 100644 --- a/project-maven-azure-docker/buildV2.yml +++ b/project-maven-azure-docker/buildV2.yml @@ -8,8 +8,7 @@ build: - docker script: - docker login -u $ACR_USERNAME -p $ACR_PASSWORD $ACR_URL - - docker image build \ - --build-arg REG=https://artifact.tecnalia.com/artifactory/api/npm/digicon-npm-dev/ --build-arg NPM_TKN=$NPM_TOKEN --build-arg US=$ACR_USERNAME --build-arg CI_TOKEN=$ACR_PASSWORD --build-arg NPMRCV2=$NPMRCV2 -t $CONTAINER_IMAGE ./ + - docker image build --build-arg REG=https://artifact.tecnalia.com/artifactory/api/npm/digicon-npm-dev/ --build-arg NPM_TKN=$NPM_TOKEN --build-arg US=$ACR_USERNAME --build-arg CI_TOKEN=$ACR_PASSWORD --build-arg NPMRCV2=$NPMRCV2 -t $CONTAINER_IMAGE ./ - docker push $CONTAINER_IMAGE only: - master