refactor pipeline

This commit is contained in:
Victor Barba Martin 2021-11-15 16:39:25 +01:00
parent e8527c2702
commit 278747e48b
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ pipelines:
- step: - step:
name: Build and Test name: Build and Test
script: script:
- docker build . --file docker/coturn/Dockerfile --tag autoscaler-${BITBUCKET_REPO_SLUG} - docker build . --file docker/coturn/Dockerfile --tag coturn-${BITBUCKET_REPO_SLUG}
- docker build . --file docker/coturn-dns/Dockerfile --tag coturn-dns-${BITBUCKET_REPO_SLUG} - docker build . --file docker/coturn-dns/Dockerfile --tag coturn-dns-${BITBUCKET_REPO_SLUG}
services: services:
- docker - docker
@ -36,8 +36,8 @@ pipelines:
- step: - step:
name: Build and Test name: Build and Test
script: script:
- docker build . --file docker/coturn/Dockerfile --tag autoscaler-${BITBUCKET_REPO_SLUG} - docker build . --file docker/coturn/Dockerfile --tag coturn-dns-${BITBUCKET_REPO_SLUG}
- docker build . --file docker/coturn-dns/Dockerfile --tag autoscaler-${BITBUCKET_REPO_SLUG} - docker build . --file docker/coturn-dns/Dockerfile --tag coturn-dns-${BITBUCKET_REPO_SLUG}
- docker save coturn-${BITBUCKET_REPO_SLUG} --output "coturn-${BITBUCKET_REPO_SLUG}.tar" - docker save coturn-${BITBUCKET_REPO_SLUG} --output "coturn-${BITBUCKET_REPO_SLUG}.tar"
- docker save coturn-dns-${BITBUCKET_REPO_SLUG} --output "coturn-dns-${BITBUCKET_REPO_SLUG}.tar" - docker save coturn-dns-${BITBUCKET_REPO_SLUG} --output "coturn-dns-${BITBUCKET_REPO_SLUG}.tar"
services: services: