forked from ansible/awx-operator
-
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
1 parent
1c89044
commit ed00daf
Showing
2 changed files
with
21 additions
and
27 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 |
---|---|---|
|
@@ -27,7 +27,6 @@ on: | |
description: 'GitHub organization for community-operator-prod project. default: redhat-openshift-ecosystem' | ||
required: true | ||
default: 'redhat-openshift-ecosystem' | ||
|
||
jobs: | ||
promote: | ||
runs-on: ubuntu-latest | ||
|
@@ -46,21 +45,25 @@ jobs: | |
run: | | ||
echo ${{ secrets.QUAY_TOKEN }} | docker login ${{github.event.inputs.image_registry}} -u ${{ secrets.QUAY_USER }} --password-stdin | ||
- name: Checkout awx-opearator at TAG_NAME | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
ref: ${{ env.TAG_NAME }} | ||
path: awx-operator-${{ env.TAG_NAME }} | ||
|
||
- name: Build and publish bundle to operator-hub | ||
working-directory: awx-operator-${{ env.TAG_NAME }} | ||
env: | ||
IMG_REPOSITORY: ${{ github.event.inputs.image_registry }}/${{ github.event.inputs.image_registry_organization }} | ||
GITHUB_TOKEN: ${{ secrets.AWX_AUTO_GITHUB_TOKEN }} | ||
COMMUNITY_OPERATOR_GITHUB_ORG: ${{ github.event.inputs.community_operator_github_org }} | ||
COMMUNITY_OPERATOR_PROD_GITHUB_ORG: ${{ github.event.inputs.community_operator_prod_github_org }} | ||
- name: debug | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "AWX Automation" | ||
./hack/publish-to-operator-hub.sh | ||
ls -la | ||
pwd | ||
# - name: Checkout awx-opearator at TAG_NAME | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-tags: true | ||
# ref: ${{ env.TAG_NAME }} | ||
# path: awx-operator-${{ env.TAG_NAME }} | ||
|
||
# - name: Build and publish bundle to operator-hub | ||
# working-directory: awx-operator-${{ env.TAG_NAME }} | ||
# env: | ||
# IMG_REPOSITORY: ${{ github.event.inputs.image_registry }}/${{ github.event.inputs.image_registry_organization }} | ||
# GITHUB_TOKEN: ${{ secrets.AWX_AUTO_GITHUB_TOKEN }} | ||
# COMMUNITY_OPERATOR_GITHUB_ORG: ${{ github.event.inputs.community_operator_github_org }} | ||
# COMMUNITY_OPERATOR_PROD_GITHUB_ORG: ${{ github.event.inputs.community_operator_prod_github_org }} | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "AWX Automation" | ||
# ./hack/publish-to-operator-hub.sh |
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