postgres #58
This file contains hidden or 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: postgres | |
| on: | |
| schedule: | |
| - cron: "25 3 * * 6" # At 03:25 on Saturday. | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - .github/workflows/postgres.yml | |
| - postgres/* | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| sudo systemctl stop docker | |
| echo '{"storage-driver": "overlay2"}' | \ | |
| sudo tee /etc/docker/daemon.json | |
| sudo systemctl start docker | |
| docker info | grep Storage | |
| - uses: actions/checkout@v6 | |
| - uses: docker/setup-qemu-action@v3 | |
| - uses: docker/setup-buildx-action@v3 | |
| with: | |
| driver-opts: | | |
| network=host | |
| - uses: docker/login-action@v3 | |
| with: | |
| username: akorn | |
| password: ${{ secrets.docker_password }} | |
| - run: sh ./postgres/update.sh |