diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index f9bb322..21cd2bd 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=${{ gitea.sha }}" | cut -c1-12 >> $GITHUB_ENV + - name: check short sha + run: echo "${{env.shortsha}}" - name: build image run: | docker buildx build --platform linux/amd64 \