File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 35
35
36
36
steps :
37
37
- uses : actions/checkout@v4
38
+ with :
39
+ fetch-depth : 0
38
40
- name : Install toolchain
39
41
run : |-
40
42
rustup show active-toolchain
46
48
# - uses: jdx/mise-action@v2
47
49
# with:
48
50
# experimental: true
49
- - uses : taiki-e/install-action@just
51
+ - uses : taiki-e/install-action@v2
52
+ with :
53
+ tool : just,git-cliff,ripgrep
54
+
50
55
- name : build
51
- run : just build-binary
56
+ run : just replace-version build-binary
52
57
53
58
- name : rename
54
59
run : |-
79
84
host_os : ubuntu-latest
80
85
81
86
steps :
87
+ - uses : actions/checkout@v4
88
+ with :
89
+ fetch-depth : 0
90
+ - uses : taiki-e/install-action@v2
91
+ with :
92
+ tool : just,git-cliff,ripgrep
93
+ - name : set version
94
+ run : just replace-version
95
+
82
96
- name : meta
83
97
id : meta
84
98
uses : docker/metadata-action@v5
@@ -107,6 +121,7 @@ jobs:
107
121
id : build
108
122
uses : docker/build-push-action@v6
109
123
with :
124
+ context : .
110
125
platforms : ${{ matrix.os }}/${{ matrix.arch }}
111
126
cache-from : type=gha
112
127
cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ yellow := '\033[33m'
5
5
image := " ghcr.io/grampelberg/kuberift"
6
6
git_version := ` git rev-parse --short HEAD 2> /dev/null || echo " unknown" `
7
7
image_tag := image + " :sha-" + git_version
8
- version := ` git cliff --bumped-version --tag-pattern " v.*" 2> /dev/null | cut -c2- || echo " 0.0.0" ` + " -UNSTABLE"
8
+ version := ` git cliff --bumped-version --tag-pattern " v.*" 2> /dev/null | cut -c2- || echo " 0.0.0" `
9
9
version_placeholder := " 0.0.0-UNSTABLE"
10
10
11
11
tools :
You can’t perform that action at this time.
0 commit comments