File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 19
19
name : Build and publish
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
+ with :
24
+ fetch-tags : true
23
25
24
26
- name : Echo Go Cache Paths
25
27
id : go-cache-paths
@@ -44,11 +46,18 @@ jobs:
44
46
username : ${{ github.actor }}
45
47
password : ${{ secrets.GITHUB_TOKEN }}
46
48
47
- - name : Build and Push
49
+ - name : Get version
50
+ id : get-version
51
+ env :
52
+ ENVBUILDER_RELEASE : " t"
48
53
run : |
49
- VERSION=$(./scripts/version.sh)
50
- BASE=ghcr.io/coder/envbuilder
54
+ echo "ENVBUILDER_VERSION=$(./scripts.version.sh)" >> $GITHUB_OUTPUT
51
55
56
+ - name : Build and Push
57
+ env :
58
+ VERSION : " ${{ steps.get-version.outputs.ENVBUILDER_VERSION }}"
59
+ BASE : " ghcr.io/coder/envbuilder"
60
+ run : |
52
61
./scripts/build.sh \
53
62
--arch=amd64 \
54
63
--arch=arm64 \
You can’t perform that action at this time.
0 commit comments