From b77e62650075f5f7a63f1df5740bfec57f84f9b2 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Sun, 29 Mar 2026 22:26:15 +0200 Subject: [PATCH] short sha attempt --- .gitea/workflows/build-and-publish.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index f9bb322..a240cfb 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -11,6 +11,10 @@ jobs: steps: - name: checkout repo uses: actions/checkout@v4 + - name: set short sha + run: echo "SHORT_SHA=$(echo ${{ gitea.sha }} | cut -c1-12)" >> $GITHUB_ENV + - name: check short sha + run: echo "${{ env.SHORT_SHA }}" - name: build image run: | docker buildx build --platform linux/amd64 \