wip
This commit is contained in:
parent
ebf5217cd7
commit
27f11b582b
1 changed files with 5 additions and 5 deletions
|
|
@ -54,18 +54,18 @@ jobs:
|
||||||
SHA: ${{ github.sha }}
|
SHA: ${{ github.sha }}
|
||||||
IMAGE_DIGEST: ${{ needs.build.outputs.image_digest }}
|
IMAGE_DIGEST: ${{ needs.build.outputs.image_digest }}
|
||||||
run: |
|
run: |
|
||||||
rm -rf /root/petersweb-infra
|
git clone "https://${FORGE_USER}:${FORGE_TOKEN}@forge.quinefoundation.com/Cold-Air-Networks/petersweb-infra.git" infra
|
||||||
git clone "https://${FORGE_USER}:${FORGE_TOKEN}@forge.quinefoundation.com/Cold-Air-Networks/petersweb-infra.git" /root/petersweb-infra
|
cd infra
|
||||||
cd /root/petersweb-infra
|
|
||||||
|
|
||||||
BRANCH="bump-riverside-${SHA:0:7}"
|
BRANCH="bump-riverside-${SHA:0:7}"
|
||||||
git checkout -b "$BRANCH"
|
git checkout -b "$BRANCH"
|
||||||
|
|
||||||
./bump-riverside.sh "$IMAGE_DIGEST"
|
sed -i -E "s|(riverside@sha256:)[0-9a-f]{64}|\1${IMAGE_DIGEST}|" \
|
||||||
|
nixos/arion-riverside/arion-compose.nix
|
||||||
|
|
||||||
git config user.email "ci@quinefoundation.com"
|
git config user.email "ci@quinefoundation.com"
|
||||||
git config user.name "CI"
|
git config user.name "CI"
|
||||||
git add -A
|
git add nixos/arion-riverside/arion-compose.nix
|
||||||
git commit -m "bump riverside to ${SHA:0:7}"
|
git commit -m "bump riverside to ${SHA:0:7}"
|
||||||
git push origin "$BRANCH"
|
git push origin "$BRANCH"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue