From f1c3dc6becbde0b7de6217b3995fc882bcff5e6a Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Wed, 12 Jun 2024 16:27:40 -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-merge.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/crucible-merge.yaml diff --git a/.github/workflows/crucible-merge.yaml b/.github/workflows/crucible-merge.yaml new file mode 100644 index 0000000..cb63b1a --- /dev/null +++ b/.github/workflows/crucible-merge.yaml @@ -0,0 +1,23 @@ +name: crucible-merged + +on: + pull_request_target: + types: [ closed ] + branches: [ master ] + paths-ignore: + - LICENSE + - '**.md' + - .github/workflows/faux-crucible-ci.yaml + - 'docs/**' + workflow_dispatch: + +jobs: + call-tool-crucible-ci_if-merged: + if: github.event.pull_request.merged == true + uses: perftool-incubator/crucible-ci/.github/workflows/tool-crucible-ci.yaml@main + with: + ci_target: "procstat" + ci_target_branch: "master" + github_workspace: "$GITHUB_WORKSPACE" + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }}