Xe Iaso 912ac171be
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 26s
migrate to autodeploy
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-12 23:57:46 -05:00

36 lines
1.0 KiB
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: log into ghcr.io
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: git.xeserv.us
username: mimi
password: ${{ secrets.PUSH_TOKEN }}
- name: build image
run: |
docker build -t git.xeserv.us/tulpamancy/tulpanomicon .
- name: push image
run: |
docker push git.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