now?
Some checks failed
Deploy / deploy (push) Failing after 12s

This commit is contained in:
Lee 2024-09-24 10:43:05 +01:00
parent 66f0398e95
commit 427740b69e

@ -22,7 +22,15 @@ jobs:
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
registry: git.fascinated.cc registry: git.fascinated.cc
- name: Build and push - name: Cache Docker Layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
@ -30,22 +38,22 @@ jobs:
tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest
build-args: | build-args: |
GIT_REV=${{ gitea.sha }} GIT_REV=${{ gitea.sha }}
cache-from: type=local, src=/tmp/.buildx-cache
cache-to: type=local, dest=/tmp/.buildx-cache
- name: Install kubectl - name: Install kubectl
uses: azure/setup-kubectl@v4 uses: azure/setup-kubectl@v4
id: install id: install
- name: Setup kubernetes context - name: Setup Kubernetes Context
uses: azure/k8s-set-context@v4 uses: azure/k8s-set-context@v4
with: with:
kubeconfig: ${{ secrets.KUBECONFIG }} kubeconfig: ${{ secrets.KUBECONFIG }}
- uses: Azure/k8s-deploy@v5 - name: Deploy to Kubernetes
uses: Azure/k8s-deploy@v5
with: with:
action: deploy action: deploy
strategy: basic
private-cluster: true
manifests: | manifests: |
.gitea/kubernetes/deployment.yaml .gitea/kubernetes/deployment.yaml
.gitea/kubernetes/service.yaml .gitea/kubernetes/service.yaml