Skip to content

Commit 9f2c30c

Browse files
committed
Random updates 🤷🏻‍♂️
1 parent da8738e commit 9f2c30c

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/on-tag.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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:
157160
- uses: actions/[email protected]
158161

@@ -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

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ jobs:
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'

0 commit comments

Comments
 (0)