From 14fa504a4ce7935fef9bd0b0b4b3c615c88054c1 Mon Sep 17 00:00:00 2001 From: Vinicius Aguiar Date: Mon, 6 May 2024 17:25:00 -0300 Subject: [PATCH] feat: trigger release image by workflow dispatch (#827) --- .github/workflows/{cd.yaml => cd-prod.yaml} | 0 .github/workflows/release-dev.yaml | 3 ++- .github/workflows/{release.yaml => release-prod.yaml} | 5 +++-- .github/workflows/release-staging.yaml | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) rename .github/workflows/{cd.yaml => cd-prod.yaml} (100%) rename .github/workflows/{release.yaml => release-prod.yaml} (95%) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd-prod.yaml similarity index 100% rename from .github/workflows/cd.yaml rename to .github/workflows/cd-prod.yaml diff --git a/.github/workflows/release-dev.yaml b/.github/workflows/release-dev.yaml index bf8bd7ed..d5eb20b5 100644 --- a/.github/workflows/release-dev.yaml +++ b/.github/workflows/release-dev.yaml @@ -7,9 +7,10 @@ on: paths: - ".github/workflows/release-dev.yaml" - "next/**/*" + workflow_dispatch: jobs: - release-docker-image-development: + release: name: Release Docker Image (Development) runs-on: ubuntu-latest environment: diff --git a/.github/workflows/release.yaml b/.github/workflows/release-prod.yaml similarity index 95% rename from .github/workflows/release.yaml rename to .github/workflows/release-prod.yaml index 2d3f80ff..6b8c23c9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release-prod.yaml @@ -5,11 +5,12 @@ on: branches: - main paths: - - ".github/workflows/release.yaml" + - ".github/workflows/release-prod.yaml" - "next/**/*" + workflow_dispatch: jobs: - release-docker-image-production: + release: name: Release Docker Image (Production) runs-on: ubuntu-latest environment: diff --git a/.github/workflows/release-staging.yaml b/.github/workflows/release-staging.yaml index 7aecfecb..b8796fc3 100644 --- a/.github/workflows/release-staging.yaml +++ b/.github/workflows/release-staging.yaml @@ -7,9 +7,10 @@ on: paths: - ".github/workflows/release-staging.yaml" - "next/**/*" + workflow_dispatch: jobs: - release-docker-image-development: + release: name: Release Docker Image (Staging) runs-on: ubuntu-latest environment: