Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Bump k8s.io/client-go from 0.31.0 to 0.31.1 #615

Bump k8s.io/client-go from 0.31.0 to 0.31.1

Bump k8s.io/client-go from 0.31.0 to 0.31.1 #615

Workflow file for this run

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 }}