Add anchor management functionality with user assignments and daily t… #167
This file contains hidden or 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: Docker Image CI | |
| on: | |
| push: | |
| #tags: | |
| #- '*' | |
| # To have GitHub Actions deploy a new version, create a new tag | |
| # git tag -a yyyy.m.d -m yyyy.m.d | |
| # Then push those tags | |
| # git push --tags | |
| # Then a new version will be deployed on the self-hosted runner. | |
| jobs: | |
| rpi4: | |
| runs-on: [self-hosted, "${{ matrix.runner}}" ] | |
| strategy: | |
| matrix: | |
| runner: [rpi4, rpi42] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Docker compose pull | |
| run: docker-compose pull | |
| - name: Docker compose down | |
| run: docker-compose down | |
| - name: Docker compose up | |
| env: | |
| COMPOSE_DOCKER_CLI_BUILD: 1 | |
| DOCKER_BUILDKIT: 1 | |
| GOVEE_API_KEY: ${{ secrets.GOVEE_API_KEY }} | |
| run: docker-compose up -d --build --remove-orphans | |