From e96d60e677a0228724d8e49f57a19318c3c0cff2 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Thu, 16 Nov 2023 22:20:29 -0500 Subject: [PATCH] more creative short sha setup --- .github/workflows/docker-build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index cfaec778..5b8dcdae 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -68,7 +68,7 @@ jobs: uses: actions/checkout@v4 - name: installing plural uses: pluralsh/setup-plural@v0.2.0 - - name: current sha - run: git rev-parse --short HEAD + - name: Using short sha + run: echo ${GITHUB_SHA::7} - name: Update service - run: plural cd services update @mgmt/marketing --conf tag=sha-$(git rev-parse --short HEAD) \ No newline at end of file + run: plural cd services update @mgmt/marketing --conf tag=sha-${GITHUB_SHA::7} \ No newline at end of file