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

[FEATURE] support buildah manifest add #106

Open
willzhang opened this issue Sep 30, 2022 · 0 comments
Open

[FEATURE] support buildah manifest add #106

willzhang opened this issue Sep 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@willzhang
Copy link

willzhang commented Sep 30, 2022

Is your feature request related to a problem? Please describe.

i have already build arm64 and amd64 images to dockerhub.

i don't want to build image ,i just want to do this with actions,any suggestion?

REPO=example.com/example/shazam
buildah manifest create $REPO:latest
for IMGTAG in amd64 s390x ppc64le arm64; do \
        buildah manifest add $REPO:latest docker://$REPO:IMGTAG; \
    done
buildah manifest push --all $REPO:latest

Describe the solution you'd like

    steps:
      - name: Buildah Action
        id: manifest _image
        uses: redhat-actions/buildah-build@v2
        with:
          source_image:  app01-v1.1.0-amd64, app01-v1.1.0--arm64
          tartet_image:  app01-v1.1.0
          push: docker.io/xxx/app01-v1.1.0

Describe alternatives you've considered

Additional context

@willzhang willzhang added the enhancement New feature or request label Sep 30, 2022
@willzhang willzhang changed the title [FEATURE] support [FEATURE] support buildah manifest add Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant