mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-29 21:03:03 +00:00
Merge pull request #10609 from kata-containers/sprt/fix-publish-csi
ci: Fix Docker publishing for CSI driver
This commit is contained in:
commit
5e1fc5a63f
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -160,6 +160,13 @@ jobs:
|
|||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
||||||
|
|
||||||
|
- name: Link binary into Docker context
|
||||||
|
run: |
|
||||||
|
mkdir -p src/tools/csi-kata-directvolume/bin/
|
||||||
|
# Hard link (Docker doesn't follow symlinks) to the location
|
||||||
|
# where the Dockerfile expects to find the binary.
|
||||||
|
ln -f /opt/kata/bin/csi-kata-directvolume src/tools/csi-kata-directvolume/bin/directvolplugin
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@ -178,8 +185,6 @@ jobs:
|
|||||||
context: src/tools/csi-kata-directvolume/
|
context: src/tools/csi-kata-directvolume/
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
file: src/tools/csi-kata-directvolume/Dockerfile
|
file: src/tools/csi-kata-directvolume/Dockerfile
|
||||||
build-args: |
|
|
||||||
binary=/opt/kata/bin/csi-kata-directvolume
|
|
||||||
|
|
||||||
run-kata-monitor-tests:
|
run-kata-monitor-tests:
|
||||||
if: ${{ inputs.skip-test != 'yes' }}
|
if: ${{ inputs.skip-test != 'yes' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user