Skip to content

Commit

Permalink
chore: create ARM images seperated from the other regular one to redu…
Browse files Browse the repository at this point in the history
…ce the size

It will prepend the prefix arm- to the images
  • Loading branch information
bjarneo committed Feb 19, 2023
1 parent 44b7b23 commit 9d0f91a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/publish_daily_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64
push: true
tags: hemmeligapp/hemmelig:daily

- name: Push to Docker Hub [ARM]
uses: docker/build-push-action@v4
with:
platforms: linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:arm-daily
17 changes: 15 additions & 2 deletions .github/workflows/publish_docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,25 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:latest

- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:${{ steps.latest_tag.outputs.tag }}

- name: Push to Docker Hub [ARM]
uses: docker/build-push-action@v4
with:
platforms: linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:arm-latest

- name: Push to Docker Hub [ARM]
uses: docker/build-push-action@v4
with:
platforms: linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:arm-${{ steps.latest_tag.outputs.tag }}
8 changes: 7 additions & 1 deletion .github/workflows/publish_weekly_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:weekly

- name: Push to Docker Hub [ARM]
uses: docker/build-push-action@v4
with:
platforms: linux/arm64,linux/arm/v7
push: true
tags: hemmeligapp/hemmelig:arm-weekly

0 comments on commit 9d0f91a

Please sign in to comment.