This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 #618
Workflow file for this run
This file contains 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: Release - GHCR | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
paths-ignore: | |
- 'deploy/**' | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'deploy/**' | |
- 'docs/**' | |
- '**/*.md' | |
env: | |
platforms: linux/amd64 | |
registry: ghcr.io | |
image: ghcr.io/${{ github.repository_owner }}/meeting-operator | |
jobs: | |
docker-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Login to Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.registry }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get metadata for docker | |
uses: docker/metadata-action@v5 | |
id: meta | |
with: | |
images: | | |
${{ env.image }} | |
tags: | | |
type=schedule | |
type=ref,event=branch | |
type=ref,event=tag | |
type=ref,event=pr | |
type=semver,pattern={{version}} | |
type=sha | |
flavor: | | |
latest=${{ github.ref == 'refs/heads/main' }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
image: tonistiigi/binfmt:latest | |
platforms: ${{env.platforms}} | |
- name: Set up Docker Context for Buildx | |
id: buildx-context | |
run: | | |
docker context create builders | |
- name: Set up Docker Buildx | |
timeout-minutes: 5 | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
endpoint: builders | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
timeout-minutes: 60 | |
with: | |
context: . | |
platforms: ${{ env.platforms }} | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |