Skip to content

Commit

Permalink
Add quay.io secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Apr 3, 2024
1 parent 537a784 commit fc4204e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_and_push_to_reqistry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test build and push to ghcr.io and quay.io

on:
push:
branches:
refactor_workflows_and_images

jobs:

build_and_push_to_ghcr:
uses: ./.github/workflows/build_and_push_all_images.yml
with:
force_build: false
push: true
registry: ghcr.io
tag: test
e2xgrader_installation_source: pypi
secrets: inherit

build_and_push_to_quay:
uses: ./.github/workflows/build_and_push_all_images.yml
with:
force_build: false
push: true
registry: quay.io
tag: test
e2xgrader_installation_source: pypi
secrets: inherit

4 changes: 4 additions & 0 deletions .github/workflows/build_e2xgrader_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
secrets:
GH_TOKEN:
required: true
QUAY_USERNAME:
required: true
QUAY_SECRET:
required: true
inputs:
force_build:
description: Force the build even if there are no changes
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
secrets:
GH_TOKEN:
required: true
QUAY_USERNAME:
required: true
QUAY_SECRET:
required: true
inputs:
force_build:
description: If the build should be forced even if there are no changes
Expand Down

0 comments on commit fc4204e

Please sign in to comment.