Ch21 Image Builds #3021
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: Ch21 Image Builds | |
on: | |
push: | |
paths: | |
- ".github/workflows/ch21.yaml" | |
- "ch21/docker-images/**" | |
schedule: | |
- cron: "0 21 * * 0" | |
jobs: | |
ch21: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: azure/docker-login@v1 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
- name: ch21 | |
working-directory: ./ch21/docker-images | |
run: | | |
docker-compose build | |
docker-compose push |