Skip to content

fix(deps): update module github.com/kubernetes-csi/csi-test/v5 to v5.… #11117

fix(deps): update module github.com/kubernetes-csi/csi-test/v5 to v5.…

fix(deps): update module github.com/kubernetes-csi/csi-test/v5 to v5.… #11117

Workflow file for this run

name: Docker CD
on:
push:
branches:
- main # Set a branch to deploy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Build-and-Push-Docker-Image:
runs-on: ubuntu-latest
name: Docker Build, Tag, Push
strategy:
matrix:
service: ['link', 'metadata', 'logger', 'csi']
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Docker meta
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: name/app
- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: .
file: ops/dockerfile/go.Dockerfile
build-args: |
CMD_PATH=${{ format('./internal/services/{0}/cmd', matrix.service) }}
push: true
tags: latest
provenance: true
sbom: true
labels: ${{ steps.meta.outputs.labels }}
# sign container images
- name: Install cosign
uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # v3.2.0
with:
cosign-release: 'v1.13.1'