fix pipeline

This commit is contained in:
Victor Barba Martin 2021-07-16 17:26:41 +02:00
parent ecffae8e7d
commit d04532fed8
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ pipelines:
name: Build and Test
script:
- IMAGE_NAME=$BITBUCKET_REPO_SLUG
- docker build . --file k8s/linode-autoscaler/Dockerfile --tag ${IMAGE_NAME}
- docker build . --file k8s/Dockerfile-autoscaler --tag ${IMAGE_NAME}
services:
- docker
caches:
@ -36,7 +36,7 @@ pipelines:
name: Build and Test
script:
- IMAGE_NAME=linode-autoscaler
- docker build . --file k8s/linode-autoscaler/Dockerfile --tag ${IMAGE_NAME}
- docker build . --file k8s/Dockerfile-autoscaler --tag ${IMAGE_NAME}
- docker save ${IMAGE_NAME} --output "${IMAGE_NAME}.tar"
services:
- docker

View File

@ -0,0 +1,3 @@
FROM meezaan/linode-k8s-autoscaler
COPY video-cluster-kubeconfig.yaml /root/.kube/config

View File

@ -1,3 +0,0 @@
FROM meezaan/linode-k8s-autoscaler
COPY ../video-cluster-kubeconfig.yaml /root/.kube/config