Skip to content

Update linkedcat-backup.yaml #47

Update linkedcat-backup.yaml

Update linkedcat-backup.yaml #47

Workflow file for this run

name: Deploy Linkedcat
on:
push:
branches: [main]
jobs:
build:
name: Build OKM Headstart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push OKM Headstart
uses: docker/build-push-action@v4
with:
context: okm-headstart/.
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/acdh-oeaw/linkedcat-deployment/okm-headstart:latest
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Deploy
uses: tale/kubectl-action@v1
with:
base64-kube-config: ${{ secrets.C2_KUBE_CONFIG }}
kubectl-version: v1.21.8
# Create all the Kubernetes deployments, services and related objects
- run: kubectl -n linkedcat apply -f Kubernetes/