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