File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
- ARG FROM=ghcr.io/emqx/emqx-builder/5.1-3 :1.14.5-25.3 .2-1-amzn2
1
+ ARG FROM=ghcr.io/emqx/emqx-builder/5.5-5 :1.18.3-27.3.4 .2-1-amzn2
2
2
FROM ${FROM}
3
3
4
4
RUN alternatives --set python /usr/bin/python2 && \
Original file line number Diff line number Diff line change @@ -137,6 +137,21 @@ jobs:
137
137
ref : ${{ github.event.inputs.build_from }} # when input is not given, the event tag is used
138
138
139
139
- name : build release
140
+ if : matrix.os == 'amzn2'
141
+ env :
142
+ CI_RELEASE_VERSION : ${{ github.event.inputs.release_as }}
143
+ CONTAINER : ghcr.io/emqx/emqx-builder/${{ matrix.builder.vsn }}-${{ matrix.os }}
144
+ run : |
145
+ docker build --build-arg FROM=$CONTAINER -t emqx-builder:amzn2 -f .ci/Dockerfile.amzn2 .
146
+ docker run -t --rm --user 1001 \
147
+ -v $(pwd):/wd \
148
+ --workdir /wd \
149
+ -e BUILD_RELEASE=1 \
150
+ -e CI_RELEASE_VERSION=$CI_RELEASE_VERSION \
151
+ emqx-builder:amzn2 bash -euc './build.sh'
152
+
153
+ - name : build release
154
+ if : matrix.os != 'amzn2'
140
155
env :
141
156
CI_RELEASE_VERSION : ${{ github.event.inputs.release_as }}
142
157
CONTAINER : ghcr.io/emqx/emqx-builder/${{ matrix.builder.vsn }}-${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments