Wikipedia Library container image updates #247
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: Wikipedia Library container image updates | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'quay.io/wikipedialibrary/**' | |
# Run daily | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
docker_io: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/login-action@v2 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAYBOT_USERNAME }} | |
password: ${{ secrets.QUAYBOT_PASSWORD }} | |
- name: mirror docker.io images to quay.io/wikipedialibrary | |
run: bin/docker_parent_images.sh docker.io mirror | |
- name: update packages in docker.io images and push to quay.io/wikipedialibrary with '-updated' tags | |
run: bin/docker_parent_images.sh docker.io update | |
quay_io_wikipedialibrary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/login-action@v2 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAYBOT_USERNAME }} | |
password: ${{ secrets.QUAYBOT_PASSWORD }} | |
- name: build and push quay.io/wikipedialibrary images | |
run: bin/docker_wikipedialibrary_images.sh |