From 29e17708d8fc4e38d9b7a7c143f1451b693ca2ac Mon Sep 17 00:00:00 2001 From: Bruno Jerosch Date: Mon, 2 Sep 2024 16:27:08 +0100 Subject: [PATCH 1/2] chore(githubAction) Build image --- .github/workflows/cloud-manager-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cloud-manager-build.yml b/.github/workflows/cloud-manager-build.yml index 612a3165e..921010e0f 100644 --- a/.github/workflows/cloud-manager-build.yml +++ b/.github/workflows/cloud-manager-build.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Get the latest tag id: get_tag - run: echo "TAG"="v{{ .Date }}-{{ .ShortSHA }}" >> $GITHUB_OUTPUT + run: echo "TAG"="v$(date +'%Y%m%d')-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Echo the tag run: echo ${{ steps.get_tag.outputs.TAG }} build-image: From 4e7588148520a7bf4db3da606bc2134b318a59d6 Mon Sep 17 00:00:00 2001 From: Bruno Jerosch Date: Mon, 2 Sep 2024 16:45:46 +0100 Subject: [PATCH 2/2] chore(githubAction) Build image --- .github/workflows/cloud-manager-build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cloud-manager-build.yml b/.github/workflows/cloud-manager-build.yml index 921010e0f..e9c0f2cf8 100644 --- a/.github/workflows/cloud-manager-build.yml +++ b/.github/workflows/cloud-manager-build.yml @@ -36,5 +36,4 @@ jobs: tags: ${{ needs.compute-tag.outputs.tag }} name: cloud-manager dockerfile: Dockerfile - context: cloud-manager export-tags: true