docker-update-base-and-push #449
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-update-base-and-push" | |
on: | |
schedule: | |
- cron: "00 01 * * *" | |
jobs: | |
docker-build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: add builder | |
run: | | |
docker run --privileged --rm tonistiigi/binfmt --install all \ | |
&& docker buildx create --use | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: login into repository | |
run: echo ${{ secrets.DOCKER_REGISTRY_PASSWORD }} | | |
docker login --username ${{ secrets.DOCKER_REGISTRY_USERNAME }} | |
--password-stdin ${{ secrets.DOCKER_REGISTRY_URL }} | |
- name: update base and push | |
run: ./docker-build.sh --push --update-base |