dashboard_push_docker_hub.yaml 684 B

123456789101112131415161718192021222324252627
  1. name: Push apisix dashboard to Docker image
  2. on:
  3. push:
  4. branches: ['release/apisix-dashboard**']
  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 dashboard image to Docker Hub
  21. run: |
  22. make push-multiarch-dashbaord