objective categorical abstract machine language personal data server

Consistently use short rev sha for version

futur.blue 5e414f9d a4244fe0

verified
+10 -2
+10 -2
.github/workflows/build.yml
··· 21 21 22 22 - uses: actions/checkout@v6 23 23 24 + - name: Set short rev 25 + id: rev_parse 26 + run: echo "git_rev=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 27 + 24 28 - name: Build and push 25 29 uses: docker/build-push-action@v6 26 30 with: 27 31 push: true 28 32 tags: ghcr.io/futurgh/pegasus:${{ github.sha }}-amd64 29 - build-args: GIT_REV=${{ github.sha }} 33 + build-args: GIT_REV=${{ steps.rev_parse.outputs.git_rev }} 30 34 cache-from: type=gha,scope=amd64 31 35 cache-to: type=gha,scope=amd64,mode=max 32 36 ··· 45 49 46 50 - uses: actions/checkout@v6 47 51 52 + - name: Set short rev 53 + id: rev_parse 54 + run: echo "git_rev=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 55 + 48 56 - name: Build and push 49 57 uses: docker/build-push-action@v6 50 58 with: 51 59 push: true 52 60 tags: ghcr.io/futurgh/pegasus:${{ github.sha }}-arm64 53 - build-args: GIT_REV=${{ github.sha }} 61 + build-args: GIT_REV=${{ steps.rev_parse.outputs.git_rev }} 54 62 cache-from: type=gha,scope=arm64 55 63 cache-to: type=gha,scope=arm64,mode=max 56 64