Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:

temp-call-publish-html-app:
name: TEMP - Publish HTML app
uses: eclipse-pass/playground/.github/workflows/html-app-publish.yml@main
uses: eclipse-pass/playground/.github/workflows/html-app-publish.yml@090962cdbac05a04db8e32f6e1e076c7a86f6c3e
26 changes: 14 additions & 12 deletions .github/workflows/html-app-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,21 @@ jobs:
# against the sigstore community Fulcio instance.
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}

# WARNING! This will cause any PR running these actions to be automatically merged.
# It should NOT be run except on the merge of a PR.
# Update k8s manifest and commit the change
- name: Update k8s manifest
run: python ./.github/workflows/update-k8s-manifest.py ./html-app/k8s-manifest.yaml ${{ steps.meta.outputs.labels.org.opencontainers.image.version }}
- uses: fregante/setup-git-user@v1
- name: Add updated file
run: git add ./html-app/k8s-manifest.yaml
- name: Commit update
run: git commit -m "Auto updating html-app/k8s-manifest.yaml to use ${{ steps.meta.outputs.tags }}"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
# - name: Update k8s manifest
# run: python ./.github/workflows/update-k8s-manifest.py ./html-app/k8s-manifest.yaml ${{ steps.meta.outputs.labels.org.opencontainers.image.version }}
# - uses: fregante/setup-git-user@v1
# - name: Add updated file
# run: git add ./html-app/k8s-manifest.yaml
# - name: Commit update
# run: git commit -m "Auto updating html-app/k8s-manifest.yaml to use ${{ steps.meta.outputs.tags }}"
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: main

# Deploy the new Docker image to our test k8s cluster
# The KUBE_CONFIG secret contains the information about where our k8s cluster can be found
Expand Down