Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreev-io committed Jan 26, 2025
1 parent 32f511d commit a514934
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/kubenetmon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
load: true

- name: Save image as artifact
run: docker save -o image.tar $(echo "${{ steps.meta.outputs.tags }}" | cut -d',' -f1)
run: |
first_tag=$(echo "${{ steps.meta.outputs.tags }}" | head -n 1)
docker save -o image.tar $first_tag
- name: Upload image artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -119,15 +121,15 @@ jobs:

- name: Create required resources for test
run: |
first_tag=$(echo "${{ needs.build-docker-image.outputs.image-tags }}" | cut -d',' -f1)
first_tag=$(echo "${{ needs.build-docker-image.outputs.image-tags }}" | head -n 1)
kind load docker-image --name chart-testing $first_tag
kubectl create namespace kubenetmon-agent
kubectl create namespace kubenetmon-server
- name: Run chart-testing (install)
run: |
cd deploy/helm
first_tag=$(echo "${{ needs.build-docker-image.outputs.image-tags }}" | cut -d',' -f1)
first_tag=$(echo "${{ needs.build-docker-image.outputs.image-tags }}" | head -n 1)
repository=$(echo $first_tag | cut -d':' -f1)
tag=$(echo $first_tag | cut -d':' -f2)
Expand Down

0 comments on commit a514934

Please sign in to comment.