name: Push apisix dashboard to Docker image on: push: branches: ['release/dashboard**'] 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: Push apisix dashboard image to Docker Hub run: | make build-dashboard make push-dashboard