forked from Apicurio/apicurio-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
@@ -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 }} | ||
|