name: Build and Push apisix-dev to Docker DockerHub on: schedule: # UTC 0:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07) - cron: "0 1 * * *" push: branches: [master] paths-ignore: - 'docs/**' - '**/*.md' jobs: build: runs-on: ubuntu-latest steps: - name: Check out the repo uses: actions/checkout@v2 - name: Login to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Push apisix image to Docker Hub run: | make push-multiarch-dev-on-debian