File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -150,9 +150,12 @@ jobs:
150150
151151 docker-hub-push :
152152 name : Tag & deploy to Docker Hub. Only after successful build, and test of a pushed git tag
153-
154153 runs-on : ubuntu-18.04
155154 needs : build
155+
156+ env :
157+ APP : ipfs
158+
156159 steps :
157160158161
@@ -184,12 +187,12 @@ jobs:
184187 run : ls docker-images/ | xargs -I % docker load -i "docker-images/%"
185188
186189 - name : List all tagged images
187- run : docker images ipfs
190+ run : docker images "${APP}"
188191
189192 - name : Version-tag all images
190193 run : |
191- for arch in $(docker images ipfs --format "{{.Tag}}"); do
192- docker tag "ipfs :${arch}" "${SLUG}:${VERSION}-linux -${arch}"
194+ for arch in $(docker images "${APP}" --format "{{.Tag}}"); do
195+ docker tag "${APP} :${arch}" "${SLUG}:${VERSION}-${arch}"
193196 done
194197
195198 - name : List all tagged images
Original file line number Diff line number Diff line change 5353 --build-arg "FLAVOR=${{matrix.flavor}}"
5454 --tag "${APP}:${FLAV_ARCH}"
5555
56+ - name : Register self-compiled qemu
57+ if : matrix.flavor == 'fuse' && matrix.arch != 'amd64'
58+ env :
59+ QEMU_VERSION : v4.2.0
60+ run : docker run --rm --privileged "meedamian/simple-qemu:${QEMU_VERSION}" -p yes
61+
5662 # NOTE: `--target="final-*"` used here due to usage of `ONBUILD` tags
5763 - name : Build IPFS (cross-compile)
5864 if : matrix.arch != 'amd64'
You can’t perform that action at this time.
0 commit comments