Skip to content

Commit

Permalink
- updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ognian committed Jul 21, 2023
1 parent 2b1e2c3 commit 78b9771
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/buildwithdocker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
- name: Compile for linux/armv7
# see https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#output this allows that all files created by docker are written somewhere
run: docker build . --platform linux/arm/v7 --build-arg VERSION_STRING="${{env.version_string}} armv7" -o type=local,dest=build/armv7 && cd build/armv7/usr/src/app && tar -czf $GITHUB_WORKSPACE/build/sdmon-armv7.tar.gz sdmon
- name: Compile for linux/armv6
# see https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#output this allows that all files created by docker are written somewhere
run: docker build . --platform linux/arm/v6 --build-arg VERSION_STRING="${{env.version_string}} armv6" -o type=local,dest=build/armv6 && cd build/armv6/usr/src/app && tar -czf $GITHUB_WORKSPACE/build/sdmon-armv6.tar.gz sdmon
# **********
# ***** end of CI *****
# **********
Expand All @@ -75,6 +78,7 @@ jobs:
files: |
build/sdmon-arm64.tar.gz
build/sdmon-armv7.tar.gz
build/sdmon-armv6.tar.gz
id: "automatic_releases_tagged"
- name: Release if prerelease
if: ${{startsWith(github.ref, 'refs/heads/master')}}
Expand All @@ -87,4 +91,5 @@ jobs:
files: |
build/sdmon-arm64.tar.gz
build/sdmon-armv7.tar.gz
build/sdmon-armv6.tar.gz
id: "automatic_releases_not_tagged"

0 comments on commit 78b9771

Please sign in to comment.