@@ -108,8 +108,7 @@ jobs:
108
108
run : |
109
109
mkdir dist out
110
110
make ci-build
111
- cd dist/${{ env.GOOS }}/${{ env.GOARCH }}/.
112
- zip -r --symlinks ../../../out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_linux_${{ matrix.arch }}.zip .
111
+ zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_linux_${{ matrix.arch }}.zip dist/${{ env.GOOS }}/${{ env.GOARCH }}/${{ env.PKG_NAME }}
113
112
- name : Upload binaries
114
113
uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
115
114
with :
@@ -126,9 +125,12 @@ jobs:
126
125
env :
127
126
repo : ${{github.event.repository.name}}
128
127
version : ${{needs.get-product-version.outputs.product-version}}
129
-
130
128
steps :
131
129
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
130
+ - name : Setup scripts directory
131
+ shell : bash
132
+ run : |
133
+ make ci-build-scripts-dir GOARCH="${{ matrix.arch }}"
132
134
- name : Docker Build (Action)
133
135
uses : hashicorp/actions-docker-build@v2
134
136
env :
@@ -164,9 +166,12 @@ jobs:
164
166
repo : ${{github.event.repository.name}}
165
167
version : ${{needs.get-product-version.outputs.product-version}}
166
168
image_tag : ${{needs.get-product-version.outputs.product-version}}-ubi
167
-
168
169
steps :
169
170
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
171
+ - name : Setup scripts directory
172
+ shell : bash
173
+ run : |
174
+ make ci-build-scripts-dir GOARCH="${{ matrix.arch }}"
170
175
- name : Docker Build (Action)
171
176
uses : hashicorp/actions-docker-build@v2
172
177
env :
@@ -204,9 +209,12 @@ jobs:
204
209
repo : ${{github.event.repository.name}}
205
210
version : ${{needs.get-product-version.outputs.product-version}}
206
211
image_tag : ${{needs.get-product-version.outputs.product-version}}-ubi
207
-
208
212
steps :
209
213
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
214
+ - name : Setup scripts directory
215
+ shell : bash
216
+ run : |
217
+ make ci-build-scripts-dir GOARCH="${{ matrix.arch }}"
210
218
- name : Docker Build (Action)
211
219
uses : hashicorp/actions-docker-build@v2
212
220
env :
0 commit comments