From 0b285dd1e1d91fb7487cedc81d50807ec67eecf1 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Tue, 28 Oct 2025 11:47:59 -0400 Subject: [PATCH 1/3] Friendly Tag Env Variable --- .github/workflows/CI-full.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI-full.yml b/.github/workflows/CI-full.yml index 3123ec5744..3e4daed8ed 100644 --- a/.github/workflows/CI-full.yml +++ b/.github/workflows/CI-full.yml @@ -27,10 +27,13 @@ jobs: - name: Get the VCell version from tags id: version - run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10}) - + run: echo "FRIENDLY_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV + - name: set global environment variables run: | + if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then + echo "FRIENDLY_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV + fi echo "VCELL_TAG=`git rev-parse --short HEAD`" >> $GITHUB_ENV echo "VCELL_REPO_NAMESPACE=ghcr.io/virtualcell" >> $GITHUB_ENV echo "VCELL_DEPLOY_REMOTE_DIR=/share/apps/vcell3/deployed_github" >> $GITHUB_ENV @@ -120,7 +123,7 @@ jobs: run: | for CONTAINER in vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin;\ do docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:latest;\ - docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:${{ steps.version.outputs.tag }};\ + docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:${FRIENDLY_TAG};\ docker push --all-tags ${VCELL_REPO_NAMESPACE}/$CONTAINER;\ done From d12fbf6951a609194c59eb533d49dc23739bf964 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Wed, 29 Oct 2025 10:13:04 -0400 Subject: [PATCH 2/3] Add VCell Exporter to Tagging Process --- .github/workflows/CI-full.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-full.yml b/.github/workflows/CI-full.yml index 3e4daed8ed..95605c8864 100644 --- a/.github/workflows/CI-full.yml +++ b/.github/workflows/CI-full.yml @@ -121,7 +121,7 @@ jobs: - name: tag as latest and push to registry shell: bash run: | - for CONTAINER in vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin;\ + for CONTAINER in vcell-exporter vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin;\ do docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:latest;\ docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:${FRIENDLY_TAG};\ docker push --all-tags ${VCELL_REPO_NAMESPACE}/$CONTAINER;\ From baab1088bad9c69954b7bc4f9cd9b77de942615b Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Fri, 31 Oct 2025 10:39:42 -0400 Subject: [PATCH 3/3] Relocate Tagging Step --- .github/workflows/CI-full.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI-full.yml b/.github/workflows/CI-full.yml index 95605c8864..015d38e1b5 100644 --- a/.github/workflows/CI-full.yml +++ b/.github/workflows/CI-full.yml @@ -23,16 +23,15 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/share/swift sudo apt-get clean - - uses: actions/checkout@v4 - - name: Get the VCell version from tags - id: version - run: echo "FRIENDLY_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV + - uses: actions/checkout@v4 - name: set global environment variables run: | if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then - echo "FRIENDLY_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV + echo "FRIENDLY_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV + else + echo "FRIENDLY_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV fi echo "VCELL_TAG=`git rev-parse --short HEAD`" >> $GITHUB_ENV echo "VCELL_REPO_NAMESPACE=ghcr.io/virtualcell" >> $GITHUB_ENV