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

Image #401

Merged
merged 4 commits into from
Jul 11, 2023
Merged

Image #401

merged 4 commits into from
Jul 11, 2023

Conversation

jensh007
Copy link
Contributor

What this PR does / why we need it:
Added dockerfile and build scripts to create a docker image with the OCM CLI

Which issue(s) this PR fixes:
Fixes #289

Special notes for your reviewer:

Release Notes:

@phoban01
Copy link
Contributor

phoban01 commented Jul 7, 2023

Publishing the image should be part of the release process; so we should also ensure the Make target is called during the GitHub Actions workflow used for release.

@morri-son morri-son merged commit 73b4818 into open-component-model:main Jul 11, 2023
GITHUBORG ?= open-component-model
COMPONENT = $(PROVIDER)/$(NAME)
OCMREPO ?= ghcr.io/$(GITHUBORG)/ocm
PLATFORMS = linux/amd64 linux/arm64 darwin/arm64 darwin/amd64 windows/amd64
MULTI ?= true
CONTAINER_PLATFORMS ?= linux/amd64 linux/arm64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think you mean IMAGE_PLATFORMS

robertwol pushed a commit that referenced this pull request Sep 25, 2023
* generate ocmcli-image

* docker cli build: add sources, remove platforms

* Update Makefile with correct platform for image build

---------

Co-authored-by: Uwe Krueger <[email protected]>
Co-authored-by: Gerald Morrison <[email protected]>
hilmarf pushed a commit that referenced this pull request Jan 31, 2025
See [#401 - Automatically set milestone at issues when
closed](open-component-model/ocm-project#401)
for more information.

Co-authored-by: ocmbot[bot] <125909804+ocmbot[bot]@users.noreply.github.com>
hilmarf pushed a commit that referenced this pull request Feb 7, 2025
See [#401 - Automatically set milestone at issues when
closed](open-component-model/ocm-project#401)
for more information. Now with reuse of central managed action.

Co-authored-by: ocmbot[bot] <125909804+ocmbot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add creation of Docker image containing the OCM client to the build / release process
4 participants