test build
Some checks failed
Build and Publish / BuildAndDeploy (push) Failing after 30s

This commit is contained in:
matst80
2024-11-09 01:09:23 +01:00
parent c3d30ea0b3
commit fa708b71dd
3 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
name: Build and Publish
run-name: ${{ gitea.actor }} is building 🚀
on: [push]
jobs:
BuildAndDeploy:
runs-on: arm64
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run a script
run: docker build -t registry.knatofs.se/go-cart-actor .
- name: Push to registry
run: docker push registry.knatofs.se/go-cart-actor
- name: Deploy to Kubernetes
run: kubectl apply -f deployment.yaml -n cart