Skip to content

Commit

Permalink
test CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjun827 committed Nov 19, 2023
1 parent 69ce33f commit 26e1264
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 26e1264

Please sign in to comment.