Skip to content

Commit 810b718

Browse files
committed
Clean up env vars.
Signed-off-by: Humair Khan <[email protected]>
1 parent dd4a8ba commit 810b718

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build Image
2828
uses: ./.github/actions/build
2929
env:
30-
IMG: quay.io/${{ env.QUAY_ORG }}/data-science-pipelines-operator:${{ steps.tags.outputs.tag }}
30+
IMG: quay.io/${{ env.QUAY_ORG }}/${{ env.IMAGE_REPO_DSPO }}:${{ steps.tags.outputs.tag }}
3131
TARGET_IMAGE_TAG: ${{ steps.tags.outputs.tag }}
3232
with:
3333
OVERWRITE: true
@@ -37,7 +37,7 @@ jobs:
3737
- name: Tag latest
3838
shell: bash
3939
env:
40-
IMG: quay.io/${{ env.QUAY_ORG }}/data-science-pipelines-operator
40+
IMG: quay.io/${{ env.QUAY_ORG }}/${{ env.IMAGE_REPO_DSPO }}
4141
NEWEST_TAG: ${{ steps.tags.outputs.tag }}
4242
run: |
4343
podman tag ${IMG}:${NEWEST_TAG} ${IMG}:latest

.github/workflows/build-prs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ env:
1818
QUAY_ID: ${{ secrets.QUAY_ID }}
1919
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
2020
TARGET_IMAGE_TAG: pr-${{ github.event.pull_request.number }}
21+
GH_USER_EMAIL: [email protected]
22+
GH_USER_NAME: dsp-developers
2123
jobs:
2224
build-pr-image:
2325
if: github.event.pull_request.state == 'open'
@@ -35,10 +37,10 @@ jobs:
3537
shell: bash
3638
env:
3739
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
38-
IMG: quay.io/${{ env.QUAY_ORG }}/data-science-pipelines-operator:${{ env.TARGET_IMAGE_TAG }}
40+
IMG: quay.io/${{ env.QUAY_ORG }}/${{ env.IMAGE_REPO_DSPO }}:${{ env.TARGET_IMAGE_TAG }}
3941
run: |
40-
git config user.email "[email protected]"
41-
git config user.name "dsp-developers"
42+
git config user.email "${{ env.GH_USER_EMAIL }}"
43+
git config user.name "${{ env.GH_USER_NAME }}"
4244
4345
action=${{ github.event.action }}
4446

0 commit comments

Comments
 (0)