Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jsenko committed Nov 4, 2024
1 parent f451490 commit f4623de
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
operator-build-test:
name: Build and Test Operator
runs-on: ubuntu-latest
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
if: github.repository_owner == 'jsenko' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
steps:

- name: Configure env. variables 1
Expand Down Expand Up @@ -112,6 +112,10 @@ jobs:
if: github.event_name == 'push'
steps:

- name: Configure env. variables
run: |
echo "IMAGE_REGISTRY=quay.io/jsenkorh" >> "$GITHUB_ENV"
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v4

Expand Down Expand Up @@ -158,14 +162,18 @@ jobs:
needs: operator-publish
steps:

- name: Configure env. variables
run: |
echo "IMAGE_REGISTRY=quay.io/jsenkorh" >> "$GITHUB_ENV"
- name: Checkout ${{ github.ref_name }}
run: |
mkdir registry
cd registry
git init
git config --global user.name "apicurio-ci"
git config --global user.email "[email protected]"
git remote add origin "https://apicurio-ci:${{ secrets.ACCESS_TOKEN }}@github.com/Apicurio/apicurio-registry.git"
git remote add origin "https://jsenko:${{ secrets.ACCESS_TOKEN }}@github.com/jsenko/apicurio-registry.git"
git fetch
git checkout ${{ github.ref_name }}
git branch --set-upstream-to=origin/${{ github.ref_name }}
Expand Down

0 comments on commit f4623de

Please sign in to comment.