Skip to content

Commit 2ca6cba

Browse files
authored
adding redhat action (#218)
1 parent cd420cc commit 2ca6cba

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/docker-image.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
run: docker push quay.io/krkn-chaos/cerberus
2121
- name: Remove Image
2222
run: docker rmi -f quay.io/krkn-chaos/cerberus | exit 0
23-
- name: Build Kraken-hub Image
24-
uses: convictional/trigger-workflow-and-wait@v1.5.0
23+
- name: Rebuild krkn-hub
24+
if: startsWith(github.ref, 'refs/tags')
25+
uses: redhat-chaos/actions/krkn-hub@main
2526
with:
26-
owner: krkn-chaos
27-
repo: krkn-hub
28-
github_token: ${{ secrets.G_ACCESS_TOKEN }}
29-
workflow_file_name: docker-image.yml
30-
trigger_workflow: true
31-
wait_workflow: true
27+
QUAY_USER: ${{ secrets.QUAY_USERNAME }}
28+
QUAY_TOKEN: ${{ secrets.QUAY_PASSWORD }}
29+
AUTOPUSH: ${{ secrets.AUTOPUSH }}

0 commit comments

Comments
 (0)