working..?

iwanhae committed Nov 16, 2025 at 22:08 UTC eb97c4c8218e947da2a4c8a2c7364a6ff5b4b890
1 file changed +12 -3
.github/workflows/cd.yml
+12 -3
@@ -51,6 +51,16 @@ jobs:
51 type=semver,pattern={{major}}
52 type=sha,enable=true,prefix=sha-,suffix=,format=short
53
54 + - name: Build builder image
55 + uses: docker/build-push-action@v6
56 + with:
57 + platforms: linux/amd64,linux/arm64,linux/arm/v7
58 + target: builder
59 + context: .
60 + push: false
61 + cache-from: type=gha,mode=max
62 + cache-to: type=gha,mode=max
63 +
64 - name: Build and push Docker image
65 uses: docker/build-push-action@v6
66 with:
@@ -59,8 +69,7 @@ jobs:
69 push: true
70 tags: ${{ steps.meta.outputs.tags }}
71 labels: ${{ steps.meta.outputs.labels }}
62 - cache-from: type=gha,mode=max
63 - cache-to: type=gha,mode=max
72 +
73 deploy:
74 name: Deploy
75 runs-on: ubuntu-latest
@@ -76,7 +85,7 @@ jobs:
85 run: |
86 kubectl config set-cluster default --server ${{ secrets.KUBERNETES_ENDPOINT }}
87 kubectl config set-credentials default --token ${{ secrets.KUBERNETES_TOKEN }}
79 - kubectl config set-context default --cluster=default --user=default --namespace=${{ env.KUBERNETES_NAMESPACE }}
88 + kubectl config set-context default --cluster=default --user=default --namespace=${{ secrets.KUBERNETES_NAMESPACE }}
89 kubectl config use-context default
90 kubectl version
91