From d02258dc91a57c73dbb13c54bd5a9ae8f1f43b3e Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Thu, 13 Jun 2024 08:33:56 -0500 Subject: [PATCH] add a new github workflow to run when PRs are merged - this workflow should result in userenv images that are built and pushed to the production quay.io repo --- .github/workflows/crucible-merged.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/crucible-merged.yaml diff --git a/.github/workflows/crucible-merged.yaml b/.github/workflows/crucible-merged.yaml new file mode 100644 index 0000000..081ee1f --- /dev/null +++ b/.github/workflows/crucible-merged.yaml @@ -0,0 +1,24 @@ +name: crucible-merged + +on: + pull_request_target: + types: [ closed ] + branches: [ main ] + paths-ignore: + - LICENSE + - '**.md' + - .github/workflows/faux-crucible-ci.yaml + - .github/workflows/faux-unittest.yaml + - 'docs/**' + workflow_dispatch: + +jobs: + call-core-crucible-ci_if-merged: + if: github.event.pull_request.merged == true + uses: perftool-incubator/crucible-ci/.github/workflows/core-crucible-ci.yaml@main + with: + ci_target: "toolbox" + ci_target_branch: "main" + github_workspace: "$GITHUB_WORKSPACE" + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }}