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 \