21 lines
597 B
YAML
21 lines
597 B
YAML
name: Build and push image for doorman-homeassistant
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
docker:
|
|
uses: martin/chromart-gitea-actions/.gitea/workflows/docker-publish-private.yaml@main
|
|
with:
|
|
repository: ${{ github.repository }}
|
|
ref: ${{ github.ref }}
|
|
image_name: doorman-homeassistant
|
|
secrets:
|
|
token: ${{ secrets.CHECKOUT_REPOSITORY_TOKEN }}
|
|
deploy-gitainer:
|
|
needs: docker
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Call Gitainer stack webhook
|
|
run: curl --request POST http://192.168.1.150:9080/api/stacks/doorman-homeassistant?pretty |