Skip to content

Commit c01d25f

Browse files
committed
ci: update manifest
1 parent 7fcb1cb commit c01d25f

File tree

7 files changed

+24
-123
lines changed

7 files changed

+24
-123
lines changed

.github/workflows/docker-publish.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,27 @@ jobs:
3030
push: true
3131
tags: dipperpinees/soundwave:${{ github.sha }}
3232
build-args: |
33-
GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}
33+
GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}
34+
35+
# Update manifest in another repository
36+
- name: Checkout manifest repository
37+
uses: actions/checkout@v4
38+
with:
39+
repository: ${{ secrets.MANIFEST_REPOSITORY }}
40+
token: ${{ secrets.GITHUB_TOKEN }}
41+
path: manifest-repo
42+
43+
- name: Update manifest
44+
run: |
45+
cd manifest-repo
46+
# Update the tag in soundwave/values.yaml with the new Docker image tag
47+
sed -i "s|tag: \".*\"|tag: \"${{ github.sha }}\"|g" soundwave/values.yaml
48+
49+
# Configure git
50+
git config user.name "GitHub Actions"
51+
git config user.email "actions@github.com"
52+
53+
# Commit and push changes
54+
git add soundwave/values.yaml
55+
git commit -m "Update soundwave image tag to ${{ github.sha }}"
56+
git push

Chart.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

templates/deployment.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

templates/ingress.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

templates/secret.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

templates/service.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

values.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)