30 lines
811 B
YAML
Raw Normal View History

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