Skip to content

Commit

Permalink
Fixes issue #94 - Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Manfred Riem committed Feb 15, 2021
1 parent fbf98a9 commit e22297b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
VERSION=${TAG:${#INDEX}}
docker build -f src/main/docker/Dockerfile.amd64 -t manorrock/sphynx:amd64-$VERSION .
docker push manorrock/sphynx:amd64-$VERSION
- name: Build arm image
- name: Build arm32v6 image
run: |
cd webapp
TAG=${GITHUB_REF}
INDEX=${TAG%v*}
VERSION=${TAG:${#INDEX}}
docker build -f webapp/src/main/docker/Dockerfile.arm -t manorrock/sphynx:arm-$VERSION .
docker push manorrock/sphynx:arm-$VERSION
docker build -f webapp/src/main/docker/Dockerfile.arm32v6 -t manorrock/sphynx:arm-$VERSION .
docker push manorrock/sphynx:arm32v6-$VERSION
- name: Create multi-arch manifest
run: |
cd webapp
Expand All @@ -45,9 +45,9 @@ jobs:
export DOCKER_CLI_EXPERIMENTAL=enabled
docker manifest create manorrock/sphynx:$VERSION \
manorrock/sphynx:amd64-$VERSION \
manorrock/sphynx:arm-$VERSION
manorrock/sphynx:arm32v6-$VERSION
docker manifest annotate manorrock/sphynx:$VERSION \
manorrock/sphynx:amd64-$VERSION --os linux --arch amd64
docker manifest annotate manorrock/sphynx:$VERSION \
manorrock/sphynx:arm-$VERSION --os linux --arch arm
manorrock/sphynx:arm32v6-$VERSION --os linux --arch arm
docker manifest push manorrock/sphynx:$VERSION

0 comments on commit e22297b

Please sign in to comment.