diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e7bed37..2c00778 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,14 +4,15 @@ on: push: branches: - main - pull_request: jobs: build: - runs-on: [k8s-runner-01] + runs-on: [k8s-cluster] + container: + image: gcr.io/kaniko-project/executor:latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - - name: "Checking docker version" - run: docker version \ No newline at end of file + - name: Build & Push Image + run: /kaniko/executor --context . --dockerfile Dockerfile --destination registry.staging/testing-kaniko:${{ gitea.sha }} \ No newline at end of file