Skip to content

Commit 458354d

Browse files
committed
wip
1 parent af23097 commit 458354d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ jobs:
5959
id: docker_image
6060
run: |
6161
IMAGE=$(echo '${{ steps.meta.outputs.json }}' | jq -cr '.tags[0]')
62+
echo "IMAGE=${IMAGE}"
6263
IMAGE_REPOSITORY=$(echo "$IMAGE" | cut -d":" -f1)
64+
echo "IMAGE_REPOSITORY=${IMAGE_REPOSITORY}"
6365
IMAGE_TAG=$(echo "$IMAGE" | cut -d":" -f2)
66+
echo "IMAGE_TAG=${IMAGE_TAG}"
6467
echo "image=$IMAGE" >> "$GITHUB_OUTPUT"
6568
echo "image_repository=$IMAGE_REPOSITORY" >> "$GITHUB_OUTPUT"
6669
echo "image_tag=$IMAGE_TAG" >> "$GITHUB_OUTPUT"
@@ -101,4 +104,25 @@ jobs:
101104
- name: Setup Helm push
102105
run: |
103106
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
107+
- name: Update chart
108+
run: |
109+
helm dep update deploy/csi-rclone
110+
chartpress --no-build --image-prefix "${{ needs.build-image.outputs.image_repository }}/" --tag "${{ needs.build-image.outputs.image_tag }}"
111+
helm lint deploy/csi-rclone
112+
# - name: Publish chart
104113

114+
# - name: Publish chart
115+
# env:
116+
# DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
117+
# DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
118+
# GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
119+
# run: |
120+
# git config --global user.email "renku@datascience.ch"
121+
# git config --global user.name "Renku Bot"
122+
# export TAG=$(echo ${GITHUB_REF} |cut -d/ -f3)
123+
# docker buildx create --name multiarch --use
124+
# docker buildx inspect --bootstrap
125+
# helm dep update deploy/csi-rclone
126+
# chartpress --tag $TAG --platform linux/amd64 --platform linux/arm64 --builder docker-buildx
127+
# helm lint deploy/csi-rclone
128+
# chartpress --tag $TAG --platform linux/amd64 --platform linux/arm64 --builder docker-buildx --push --publish-chart

0 commit comments

Comments
 (0)