docker-images build #99
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: docker-images build | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 1 */14 * *" # At 01:00 on every 14th day-of-month. crontab.guru | |
workflow_dispatch: | |
jobs: | |
build-images: | |
name: ovos/ci:${{ matrix.image }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- gren | |
- less | |
- sentry | |
- cypress12 | |
- cypress14 | |
- cypress16 | |
- cypress18 | |
- node14 | |
- node16 | |
- node18 | |
- satis | |
steps: | |
- uses: actions/checkout@v2 | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- | |
name: build:${{ matrix.image }} | |
uses: docker/build-push-action@v2 | |
with: | |
pull: true | |
push: true | |
tags: ovos/ci:${{ matrix.image }} | |
context: ${{ matrix.image }} |