From 7dfea67af6454da9592b8d13e543e4fe40712343 Mon Sep 17 00:00:00 2001 From: James Green Date: Tue, 5 Nov 2024 17:20:23 +0000 Subject: [PATCH 1/2] foo github action --- .github/workflows/release-dev-container.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release-dev-container.yml diff --git a/.github/workflows/release-dev-container.yml b/.github/workflows/release-dev-container.yml new file mode 100644 index 00000000..c5ff66f7 --- /dev/null +++ b/.github/workflows/release-dev-container.yml @@ -0,0 +1,19 @@ +name: "Release Production Container" + workflow_dispatch: + inputs: + tag_version: + description: 'Tag version to deploy: e.g: v0.0.1' + required: true + type: string + +jobs: + trigger-prod-pipeline: + name: 'Production' + runs-on: ubuntu-latest + +# if: startsWith(github.ref, 'refs/tags/') && github.ref_name == 'main' + + steps: + - name: run Hello world + run: | + echo "hello" From e7d7b0aa959b3739be51375635894c3ec070e747 Mon Sep 17 00:00:00 2001 From: James Green Date: Tue, 5 Nov 2024 17:27:05 +0000 Subject: [PATCH 2/2] added missing on --- .../{release-dev-container.yml => release-dev-container.yml} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename .github/workflows/{release-dev-container.yml => release-dev-container.yml} (82%) diff --git a/.github/workflows/release-dev-container.yml b/.github/workflows/release-dev-container.yml similarity index 82% rename from .github/workflows/release-dev-container.yml rename to .github/workflows/release-dev-container.yml index c5ff66f7..e29bc827 100644 --- a/.github/workflows/release-dev-container.yml +++ b/.github/workflows/release-dev-container.yml @@ -1,4 +1,5 @@ name: "Release Production Container" +on: workflow_dispatch: inputs: tag_version: @@ -11,8 +12,6 @@ jobs: name: 'Production' runs-on: ubuntu-latest -# if: startsWith(github.ref, 'refs/tags/') && github.ref_name == 'main' - steps: - name: run Hello world run: |