Skip to content

docker-update-base-and-push #217

docker-update-base-and-push

docker-update-base-and-push #217

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
- name: update base and push
run: ./docker-build.sh --push --update-base