This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
Merge pull request #51 from yo1frenchtoast/master #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build and test Traefik' | |
env: | |
ADD_ON_DIRECTORY: traefik | |
on: | |
push: | |
paths: | |
- 'traefik/**' | |
branches: | |
- master | |
pull_request: | |
paths: | |
- 'traefik/**' | |
jobs: | |
build: | |
name: Test build Traefik | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Test build | |
uses: home-assistant/builder@master | |
with: | |
args: | | |
--test \ | |
--all \ | |
--target /data/${ADD_ON_DIRECTORY} \ | |
--docker-hub alex3305 \ | |
--image ${ADD_ON_DIRECTORY}-add-on |