apisix_push_docker_hub.yaml 702 B

1234567891011121314151617181920212223242526272829
  1. name: Push apisix to Docker image
  2. on:
  3. push:
  4. branches: ['release/apisix-**']
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Check out the repo
  10. uses: actions/checkout@v2
  11. - name: Login to Docker Hub
  12. uses: docker/login-action@v1
  13. with:
  14. username: ${{ secrets.DOCKERHUB_USER }}
  15. password: ${{ secrets.DOCKERHUB_TOKEN }}
  16. - name: Set up QEMU
  17. uses: docker/setup-qemu-action@v1
  18. - name: Set up Docker Buildx
  19. uses: docker/setup-buildx-action@v1
  20. - name: Push apisix image to Docker Hub
  21. run: |
  22. make push-multiarch-on-alpine
  23. make build-on-centos
  24. make push-on-centos