tangled
alpha
login
or
join now
futur.blue
/
pegasus
57
fork
atom
objective categorical abstract machine language personal data server
57
fork
atom
overview
issues
2
pulls
pipelines
Consistently use short rev sha for version
futur.blue
2 months ago
5e414f9d
a4244fe0
verified
This commit was signed with the committer's
known signature
.
futur.blue
SSH Key Fingerprint:
SHA256:QHGqHWNpqYyw9bt8KmPuJIyeZX9SZewBZ0PR1COtKQ0=
+10
-2
1 changed file
expand all
collapse all
unified
split
.github
workflows
build.yml
+10
-2
.github/workflows/build.yml
···
21
21
22
22
- uses: actions/checkout@v6
23
23
24
24
+
- name: Set short rev
25
25
+
id: rev_parse
26
26
+
run: echo "git_rev=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
27
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
29
-
build-args: GIT_REV=${{ github.sha }}
33
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
52
+
- name: Set short rev
53
53
+
id: rev_parse
54
54
+
run: echo "git_rev=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
55
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
53
-
build-args: GIT_REV=${{ github.sha }}
61
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