From 26e1264d609bcc59b46efaf456cbd76ef4a65f94 Mon Sep 17 00:00:00 2001 From: youngjun827 Date: Sun, 19 Nov 2023 17:09:53 -0500 Subject: [PATCH] test CD pipeline --- .github/workflows/deploy.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 2eac9e8..0b16001 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,6 +24,7 @@ jobs: docker buildx create --use docker buildx inspect --bootstrap docker buildx build --platform linux/amd64,linux/arm64 -t thoughts/thoughts-api:latest -f operations/docker/dockerfile.service . + docker push your-docker-registry/thoughts-api:latest - name: Create PersistentVolume and PersistentVolumeClaim run: | @@ -56,9 +57,9 @@ jobs: run: docker pull your-docker-registry/thoughts-api:latest - name: Set up kind - uses: ovotech/kind-action@v1 - with: - version: v0.11.1 + run: | + docker pull kindest/node:v1.27.3 + kind create cluster --name kind-cluster --image kindest/node:v1.27.3 --config operations/k8s/dev/kind-config.yaml - name: Load Docker Images into kind run: kind load docker-image your-docker-registry/thoughts-api:latest --name kind-cluster