Skip to content

Is it possible to use different image depending on the platform? #3881

Closed Answered by voidcontext
voidcontext asked this question in Ask a Question
Discussion options

You must be logged in to vote

Actually I think I found a solution, it might not be the best but it seems it works well:

matrix:
  include:
    - platform: linux/amd64
      image: some-image
    - platform: linux/aarch64
      image: aarch64/some-image

labels:
  platform: ${platform}

steps:
  release:
    image: ${image}
    settings:
      ...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by voidcontext
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants