Xe Iaso be83628c86
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 41s
fixerino
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-13 20:06:49 -05:00

30 lines
811 B
YAML

name: Gitea Actions CI
on:
push:
branches: [master]
jobs:
tests:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build image
run: |
docker build -t registry.int.xeserv.us/tulpamancy/tulpanomicon .
- name: push image
run: |
docker push registry.int.xeserv.us/tulpamancy/tulpanomicon
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_ALREST }}
KUBE_CONTEXT: alrest
with:
args: apply -k manifest
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_ALREST }}
KUBE_CONTEXT: alrest
with:
args: rollout restart -n default deployment/tulpanomicon