Bump k8s.io/client-go from 0.33.3 to 0.34.1 #548
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: iso-ci.yaml | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
release: | |
types: [ published ] | |
permissions: | |
contents: read | |
jobs: | |
precheck-and-build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: ["1.24"] | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
cache: false | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: run tests | |
run: | | |
make test | |
- name: check copyright | |
run: | | |
make check-copyright | |
- name: login to Quay.io | |
# Only if we need to push an image | |
if: ${{ github.event_name == 'release' && github.event.action == 'published' }} | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAYIO_USERNAME }} | |
password: ${{ secrets.QUAYIO_TOKEN }} | |
# Setup for buildx | |
- name: set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
# Debugging information | |
- name: docker info | |
run: docker info | |
- name: buildx inspect | |
run: docker buildx inspect | |
- name: get tag without v | |
id: tag | |
shell: bash | |
if: ${{ github.event_name == 'release' && github.event.action == 'published' }} | |
run: | | |
BUILD_VERSION=${{ github.event.release.tag_name }} | |
echo "BUILD_VERSION=${BUILD_VERSION:1}" >> $GITHUB_ENV | |
# Build and (optionally) push the driver image | |
- name: build the driver image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64,linux/ppc64le,linux/s390x | |
# Only push if we are publishing a release | |
push: ${{ github.event_name == 'release' && github.event.action == 'published' }} | |
# Use a 'dev' tag, that won't be pushed, for non-release builds | |
tags: quay.io/ibmodffs/ibm-storage-odf-block-driver:${{ env.BUILD_VERSION || 'dev' }} |