From 9f283e9d413bd92a66e46e1fa88851ae7f369a52 Mon Sep 17 00:00:00 2001 From: pelusanchez Date: Tue, 17 Oct 2023 07:59:39 +0200 Subject: [PATCH] Build webportal with tag --- .github/workflows/build-webportal.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-webportal.yml b/.github/workflows/build-webportal.yml index 76743e4..9673977 100644 --- a/.github/workflows/build-webportal.yml +++ b/.github/workflows/build-webportal.yml @@ -7,6 +7,10 @@ on: description: 'Image tag' required: true default: 'latest' + gh_branch: + description: 'Branch' + required: true + default: 'main' workflow_run: workflows: - ecmwf-projects/cads-build-farm/build-images.yml @@ -59,6 +63,7 @@ jobs: repository: ecmwf-projects/cads-webportal token: ${{ secrets.CADS_PAT }} path: ./cads-webportal + ref: ${{ github.event.inputs.gh_branch }} - name: Build and push uses: docker/build-push-action@v3