Skip to content

Commit

Permalink
Adding multi arch images support to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
leboiko committed Dec 5, 2024
1 parent 26cdf54 commit dd037f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
context: .
file: consumer/Dockerfile.production
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.REGISTRY }}/0xintuition/consumer:${{ steps.meta.outputs.version }}
${{ env.REGISTRY }}/0xintuition/consumer:latest
build-args: |
RUST_VERSION=${{ env.RUST_VERSION }}
cache-from: type=gha
Expand All @@ -56,10 +56,10 @@ jobs:
context: .
file: image-guard/Dockerfile.production
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.REGISTRY }}/0xintuition/image-guard:${{ steps.meta.outputs.version }}
${{ env.REGISTRY }}/0xintuition/image-guard:latest
build-args: |
RUST_VERSION=${{ env.RUST_VERSION }}
cache-from: type=gha
Expand All @@ -71,10 +71,10 @@ jobs:
context: .
file: substreams-sink/Dockerfile.production
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.REGISTRY }}/0xintuition/substreams-sink:${{ steps.meta.outputs.version }}
${{ env.REGISTRY }}/0xintuition/substreams-sink:latest
build-args: |
RUST_VERSION=${{ env.RUST_VERSION }}
cache-from: type=gha
Expand All @@ -86,10 +86,10 @@ jobs:
context: .
file: hasura/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.REGISTRY }}/0xintuition/hasura:${{ steps.meta.outputs.version }}
${{ env.REGISTRY }}/0xintuition/hasura:latest
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down

0 comments on commit dd037f3

Please sign in to comment.