apisix_dev_push_docker_hub.yaml 767 B

12345678910111213141516171819202122232425262728293031
  1. name: Build and Push apisix-dev to Docker DockerHub
  2. on:
  3. schedule:
  4. # UTC 0:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
  5. - cron: "0 0 * * *"
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Check out the repo
  11. uses: actions/checkout@v2
  12. - name: Login to Docker Hub
  13. uses: docker/login-action@v1
  14. with:
  15. username: ${{ secrets.DOCKERHUB_USER }}
  16. password: ${{ secrets.DOCKERHUB_TOKEN }}
  17. - name: Set up QEMU
  18. uses: docker/setup-qemu-action@v1
  19. - name: Set up Docker Buildx
  20. uses: docker/setup-buildx-action@v1
  21. - name: Push apisix image to Docker Hub
  22. run: |
  23. make push-multiarch-dev-on-alpine