From bed4a399101a0c7d5076979c94e9b645d825b9f1 Mon Sep 17 00:00:00 2001 From: Aditya Prima Date: Thu, 21 Mar 2024 16:14:14 +0700 Subject: [PATCH] Updated build stage --- .gitea/workflows/build.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 77ce1a3..5430f7d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -13,18 +13,23 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 + - name: Create Kubeconfig + run: | + mkdir $HOME/.kube + echo "${{ secrets.KUBECONFIG }}" > $HOME/.kube/config - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: driver: kubernetes driver-opts: | namespace=gitea + qemu.install=true - name: Login to Docker Registry uses: docker/login-action@v3 with: registry: git.winteraccess.id username: ${{ gitea.actor }} - password: ${{ secrets.GITEATOKEN }} + password: ${{ secrets.PATOKEN }} - name: Build and push uses: docker/build-push-action@v5 with: