Skip to content

Commit

Permalink
Update staging deployment configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Mar 13, 2024
1 parent 611008e commit d608986
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/fileserver-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ jobs:

update-stage-image:
name: Update staging deployment
needs: upload-stage-image
needs:
- build-multi-architecture
- upload-stage-image
runs-on: ubuntu-latest
steps:
- name: Generate a token
Expand All @@ -92,10 +94,11 @@ jobs:
- name: Update staging deployment
run: |
image_value="${{ needs.build-multi-architecture.outputs.image }}"
yq e ".forge.fileStore.image = \"$image_value\"" -i ./cloudproject/staging/flowfuse-values.yaml
cd ./cloudproject
yq e ".forge.fileStore.image = \"$image_value\"" -i ./staging/flowfuse-values.yaml
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git add ./cloudproject/staging/flowfuse-values.yaml
git add ./staging/flowfuse-values.yaml
git commit -m "Update staging image value"
- name: Push changes
uses: ad-m/[email protected]
Expand Down

0 comments on commit d608986

Please sign in to comment.