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 the correct cnspec container flavours #883

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

imilchev
Copy link
Member

@imilchev imilchev commented Oct 6, 2023

currently, we always use the root image as base. This PR makes sure we always start with a root image, install the providers in the system directory and then we switch the user to 101 to make it rootless. We release only X-rootless and X-ubi-rootless images since those are the only ones that the operator uses

@imilchev imilchev force-pushed the ivan/cnspec-container-flavours branch 3 times, most recently from 2fc62be to c8833f0 Compare October 6, 2023 14:06
@imilchev imilchev force-pushed the ivan/cnspec-container-flavours branch from c8833f0 to 213a167 Compare October 6, 2023 14:08

- name: Build and push cnspec image
id: build-and-push-operator
uses: docker/build-push-action@v5
with:
context: .
file: cnspec.Dockerfile
build-args: VERSION=${{ env.VERSION }}
platforms: linux/amd64,linux/arm64,linux/arm
Copy link
Member Author

Choose a reason for hiding this comment

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

the UBI thing doesn't have arm7 version and for now we don't really need it

@imilchev
Copy link
Member Author

imilchev commented Oct 6, 2023

@imilchev imilchev merged commit 297ad72 into main Oct 9, 2023
23 of 25 checks passed
@imilchev imilchev deleted the ivan/cnspec-container-flavours branch October 9, 2023 07:09
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants