Skip to content

Commit

Permalink
Merge pull request kata-containers#10609 from kata-containers/sprt/fi…
Browse files Browse the repository at this point in the history
…x-publish-csi

ci: Fix Docker publishing for CSI driver
  • Loading branch information
sprt authored Dec 3, 2024
2 parents 9c19d76 + 85d3bcd commit 5e1fc5a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ jobs:
- name: Install tools
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
uses: docker/setup-buildx-action@v3

Expand All @@ -178,8 +185,6 @@ jobs:
context: src/tools/csi-kata-directvolume/
platforms: linux/amd64
file: src/tools/csi-kata-directvolume/Dockerfile
build-args: |
binary=/opt/kata/bin/csi-kata-directvolume

run-kata-monitor-tests:
if: ${{ inputs.skip-test != 'yes' }}
Expand Down

0 comments on commit 5e1fc5a

Please sign in to comment.