doorman/.gitea/workflows/build-homeassistant.yaml
Martin Dimitrov 6ef5b6d289
All checks were successful
Build and push image for doorman-homeassistant / diff (push) Successful in 8s
Build and push Doorman UI / API / diff (push) Successful in 7s
Build and push image for doorman-homeassistant / docker (push) Has been skipped
Build and push image for doorman-homeassistant / deploy-gitainer (push) Has been skipped
Build and push Doorman UI / API / twilio (push) Has been skipped
add diff condition check
2025-10-15 19:33:21 -07:00

32 lines
865 B
YAML

name: Build and push image for doorman-homeassistant
on:
push:
branches: [main]
jobs:
diff:
uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
files: packages/doorman-homeassistant/*
secrets:
token: ${{ github.token }}
docker:
needs: diff
if: ${{ needs.diff.outputs.is_changed == 'true' }}
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: ${{ github.token }}
deploy-gitainer:
needs: docker
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
with:
stack_name: doorman-homeassistant