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