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