From fc4204e0fa6a23cfdd594ef7640192b79af8671f Mon Sep 17 00:00:00 2001 From: Tim Daniel Metzler Date: Wed, 3 Apr 2024 13:32:41 +0200 Subject: [PATCH] Add quay.io secrets --- .../workflows/build_and_push_to_reqistry.yml | 29 +++++++++++++++++++ .github/workflows/build_e2xgrader_images.yml | 4 +++ .github/workflows/build_image.yml | 4 +++ 3 files changed, 37 insertions(+) create mode 100644 .github/workflows/build_and_push_to_reqistry.yml diff --git a/.github/workflows/build_and_push_to_reqistry.yml b/.github/workflows/build_and_push_to_reqistry.yml new file mode 100644 index 0000000..a040c71 --- /dev/null +++ b/.github/workflows/build_and_push_to_reqistry.yml @@ -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 + diff --git a/.github/workflows/build_e2xgrader_images.yml b/.github/workflows/build_e2xgrader_images.yml index ad3e94b..6737261 100644 --- a/.github/workflows/build_e2xgrader_images.yml +++ b/.github/workflows/build_e2xgrader_images.yml @@ -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 diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 173f929..19d3592 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -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