Skip to content

Commit

Permalink
Merge pull request #359 from Gregory-Pereira/more-fixes-pr-images
Browse files Browse the repository at this point in the history
more fixes for testing
  • Loading branch information
Gregory-Pereira authored Nov 20, 2024
2 parents 5052024 + ca22afc commit b39832c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/pr-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_PAT }}

- name: Skip if triggered by GitHub Actions bot
id: check-skip
Expand Down Expand Up @@ -161,10 +163,14 @@ jobs:
run: |-
git config user.name "platform-engineering-bot"
git config user.email "platform-engineering@redhat.com"
git remote add origin-push https://platform-engineering-bot:${{ secrets.BOT_PAT }}@github.com/instructlab/ui.git
git config --local --list > local-git-config
cat local-git-config
git config --global --list > global-git-config
cat global-git-config
git remote -v
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-push main
git push origin main
build_and_publish_ps_qa_image:
name: Push QA pathservice container image to GHCR and QUAY
Expand All @@ -179,6 +185,8 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_PAT }}

- name: Skip if triggered by GitHub Actions bot
id: check-skip
Expand Down Expand Up @@ -313,7 +321,11 @@ jobs:
run: |-
git config user.name "platform-engineering-bot"
git config user.email "platform-engineering@redhat.com"
git remote add origin-push https://platform-engineering-bot:${{ secrets.BOT_PAT }}@github.com/instructlab/ui.git
git config --local --list > local-git-config
cat local-git-config
git config --global --list > global-git-config
cat global-git-config
git remote -v
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-push main
git push origin main
2 changes: 1 addition & 1 deletion pathservice/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.5-1730550521 as builder
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.5-1730550521 AS builder

WORKDIR /opt/app-root/src

Expand Down

0 comments on commit b39832c

Please sign in to comment.