Repository navigation
fix(alerting): Update hostname to opspilot.com FRUI-268 #282
Workflow file for this run
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: docker | |
| # Trigger rebuild 2 | |
| on: | |
| push: | |
| branches: [ "*" ] | |
| pull_request: | |
| branches: [ "*" ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| docker: | |
| name: Docker | |
| runs-on: 8CoreUbuntu | |
| environment: | |
| name: Docker Hub | |
| url: https://hub.docker.com/r/intergral/grafana | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| # https://github.com/docker/setup-qemu-action | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| # https://github.com/docker/setup-buildx-action | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@v3 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| - name: Compute image tag | |
| id: meta | |
| run: | | |
| # For PRs use the source branch name; for pushes use the ref name | |
| REF="${{ github.head_ref || github.ref_name }}" | |
| # Replace / with - for valid Docker tags | |
| echo "tag=${REF//\//-}" >> "$GITHUB_OUTPUT" | |
| - name: Build and push | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| platforms: linux/amd64,linux/arm64 | |
| build-args: | | |
| BINGO=false | |
| COMMIT_SHA=${{ github.sha }} | |
| BUILD_BRANCH=${{ github.head_ref || github.ref_name }} | |
| push: true | |
| tags: intergral/grafana:${{ steps.meta.outputs.tag }} |