Skip to content

Commit

Permalink
build aarch64 image
Browse files Browse the repository at this point in the history
  • Loading branch information
MayNiklas committed Oct 11, 2022
1 parent fa55460 commit c76fe61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build-docker:
strategy:
matrix:
arch: [x86_64]
arch: [x86_64, aarch64]

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -68,7 +68,8 @@ jobs:
run: |
docker manifest create \
mayniki/shelly-exporter:latest \
--amend mayniki/shelly-exporter:x86_64-latest
--amend mayniki/shelly-exporter:x86_64-latest \
--amend mayniki/shelly-exporter:aarch64-latest
- name: push manifest
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build-docker-release:
strategy:
matrix:
arch: [x86_64]
arch: [x86_64, aarch64]

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -78,7 +78,8 @@ jobs:
run: |
docker manifest create \
mayniki/shelly-exporter:${{ steps.vars.outputs.tag }} \
--amend mayniki/shelly-exporter:x86_64-${{ steps.vars.outputs.tag }}
--amend mayniki/shelly-exporter:x86_64-${{ steps.vars.outputs.tag }} \
--amend mayniki/shelly-exporter:aarch64-${{ steps.vars.outputs.tag }}
- name: push manifest
run: |
Expand Down

0 comments on commit c76fe61

Please sign in to comment.