diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac3c4e5..753165b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/html-app-publish.yml b/.github/workflows/html-app-publish.yml index f9631a4..e8ffd61 100644 --- a/.github/workflows/html-app-publish.yml +++ b/.github/workflows/html-app-publish.yml @@ -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