feat: configure k8s setup to add prometheus (#39) #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy on DockerHub | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| name: Push | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.USERNAME }} | |
| password: ${{ secrets.TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| platforms: linux/amd64, linux/arm64/v8 | |
| push: true | |
| tags: yoeight/gethdb:latest |