Try a basic git clone with k8s-internal domain
Some checks failed
Publish / build-and-push (push) Failing after 3m48s
Some checks failed
Publish / build-and-push (push) Failing after 3m48s
This commit is contained in:
parent
cd8a43bd4f
commit
dfb0f1aab6
@ -51,21 +51,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Image pushed: gitea.scubbo.org/scubbo/edh-elo:${{ gitea.sha }}"
|
echo "Image pushed: gitea.scubbo.org/scubbo/edh-elo:${{ gitea.sha }}"
|
||||||
|
|
||||||
update-helm-chart:
|
- name: Update Helm Chart
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
- build-and-push
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: scubbo/helm-charts
|
|
||||||
path: helm-charts
|
|
||||||
github-server-url: http://gitea-http:3000
|
|
||||||
|
|
||||||
- name: Update
|
|
||||||
run: |
|
run: |
|
||||||
|
pushd /tmp
|
||||||
|
git clone http://gitea-http:3000/scubbo/helm-charts.git
|
||||||
cd helm-charts
|
cd helm-charts
|
||||||
yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml
|
yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml
|
||||||
git add -A
|
git add -A
|
||||||
@ -75,3 +64,4 @@ jobs:
|
|||||||
git push
|
git push
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf helm-charts
|
rm -rf helm-charts
|
||||||
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user