diff --git a/.github/workflows/pr-images.yml b/.github/workflows/pr-images.yml index e572dae0..097ce8d2 100644 --- a/.github/workflows/pr-images.yml +++ b/.github/workflows/pr-images.yml @@ -159,11 +159,12 @@ jobs: - name: Commit and push bump QA UI Image manifest run: |- - git config --global user.name "${GITHUB_ACTOR}" - git config --global user.email "${GITHUB_ACTOR}@users.noreply.${INPUT_ORGANIZATION_DOMAIN}" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git remote add origin-push https://github-actions[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/instructlab/ui.git git add deploy/k8s/overlays/openshift/qa/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping QA UI image to tag: pr-${{ steps.get_pr_number.outputs.result }}" -s - git push origin main + git push origin-push main build_and_publish_ps_qa_image: name: Push QA pathservice container image to GHCR and QUAY @@ -310,8 +311,9 @@ jobs: - name: Commit and push bump QA PS Image manifest run: |- - git config --global user.name "${GITHUB_ACTOR}" - git config --global user.email "${GITHUB_ACTOR}@users.noreply.${INPUT_ORGANIZATION_DOMAIN}" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git remote add origin-push https://github-actions[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/instructlab/ui.git git add deploy/k8s/overlays/openshift/qa/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping QA PS image to tag: pr-${{ steps.get_pr_number.outputs.result }}" -s - git push origin main + git push origin-push main diff --git a/.github/workflows/release-images.yml b/.github/workflows/release-images.yml index 5df4eb11..1baeec3f 100644 --- a/.github/workflows/release-images.yml +++ b/.github/workflows/release-images.yml @@ -126,11 +126,12 @@ jobs: - name: Commit and push bump to Prod UI image manifest run: |- - git config --global user.name "${GITHUB_ACTOR}" - git config --global user.email "${GITHUB_ACTOR}@users.noreply.${INPUT_ORGANIZATION_DOMAIN}" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git remote add origin-push https://github-actions[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/instructlab/ui.git git add deploy/k8s/overlays/openshift/prod/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping Prod UI image to tag: ${{ steps.get_release_tag.outputs.RELEASE_TAG }}" -s - git push origin main + git push origin-push main build_and_publish_ps_prod_image: name: Push UI container image to GHCR and QUAY @@ -246,8 +247,9 @@ jobs: - name: Commit and push bump to Prod PS image manifest run: |- - git config --global user.name "${GITHUB_ACTOR}" - git config --global user.email "${GITHUB_ACTOR}@users.noreply.${INPUT_ORGANIZATION_DOMAIN}" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git remote add origin-push https://github-actions[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/instructlab/ui.git git add deploy/k8s/overlays/openshift/prod/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping Prod PS image to tag: ${{ steps.get_release_tag.outputs.RELEASE_TAG }}" -s - git push origin main + git push origin-push main