dashboard_push_docker_hub.yaml 535 B

12345678910111213141516171819202122
  1. name: Push apisix dashboard to Docker image
  2. on:
  3. push:
  4. branches: ['release/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: Push apisix dashboard image to Docker Hub
  17. run: |
  18. make build-dashboard
  19. make push-dashboard