Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release images for multiple OSs #16

Open
mircea-pavel-anton opened this issue Sep 7, 2024 · 2 comments
Open

Release images for multiple OSs #16

mircea-pavel-anton opened this issue Sep 7, 2024 · 2 comments
Assignees
Labels
area/github Changes made in the github directory issue/feature size/L

Comments

@mircea-pavel-anton
Copy link
Contributor

mircea-pavel-anton commented Sep 7, 2024

Release the same version of the tool but packaged in different base images, i.e. alpine, bookworm and scratch. Append the OS name to the tag, i.e. vX.Y.Z-alpine3.20 or vX.Y.Z-bookworm. Scratch should have no such suffix.

# metadata.yaml
---
# TODO: renovate comment + regex thingy
version: v3.38.0 #to be injected as build arg

images: # push to multiple registries 
  - ghcr.io/mirceanton/taskfile
  - docker.io/antonmircea/taskfile

platforms: # multi-arch support
  - linux/amd64
  - linux/arm64v8

variants:
  - tag: {{.Version}}-alpine3.20
    build-args: |
      BASE_IMAGE=alpine3.20

  - tag: {{.Version}}-bookworm
    build-args: |
      BASE_IMAGE=debian:bookworm
@gedw99
Copy link

gedw99 commented Sep 13, 2024

So what’s the issue ?

I don’t see any road blocks ..

@mircea-pavel-anton
Copy link
Contributor Author

mircea-pavel-anton commented Sep 13, 2024

@gedw99 I'm more looking for feedback as to what others might need.

For my particular usecase, which prompted the creation of this repo, a scratch base is enough.

I'm wondering if others would want/need a different base, and if so which.

@mircea-pavel-anton mircea-pavel-anton added size/L area/github Changes made in the github directory labels Sep 16, 2024
@mircea-pavel-anton mircea-pavel-anton self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github Changes made in the github directory issue/feature size/L
Projects
None yet
Development

No branches or pull requests

2 participants