Skip to content

Merge pull request #32 from intergral/opsPilotlink #6

Merge pull request #32 from intergral/opsPilotlink

Merge pull request #32 from intergral/opsPilotlink #6

Workflow file for this run

name: release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
release:
name: Release
runs-on: 8CoreUbuntu
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
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- 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=main
push: true
tags: intergral/grafana:latest,intergral/grafana:${{ github.ref_name }}