From d840067dfa42d2b501e12fd785fa01c95930cfb3 Mon Sep 17 00:00:00 2001 From: Senthilkumar Panneerselvam Date: Fri, 17 Nov 2023 15:24:47 +0100 Subject: [PATCH 1/3] Code version and biobank screenshot --- .github/workflows/dockerhub.yml | 4 +++- layouts/partials/footer.html | 18 +++++++++++++++--- layouts/partials/head.html | 2 +- static/img/biobanks/homepage_shot.png | Bin 283586 -> 77907 bytes 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 74e74efaa..8405b32ac 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -65,4 +65,6 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - build-args: HUGO_ENV_ARG=${{ github.ref_name == 'main' && 'production' || github.event_name == 'release' && 'production' || 'development' }} + build-args: HUGO_ENV_ARG=${{ github.event_name == 'release' && format('{0}-{1}', 'production', github.ref_name) + || github.ref_name == 'main' && format('{0}-{1}', 'production', github.sha) + || format('{0}-{1}', 'development', github.sha) }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f19823712..dde796077 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -