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

Allow for the injector to be built in docker #1917

Merged
merged 22 commits into from
Aug 3, 2023
Merged

Conversation

Racer159
Copy link
Contributor

Description

This PR allows building the injector on more systems and migrates its release to GHCR to avoid issues with Docker Hub.

Related Issue

Fixes #N/A

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@netlify
Copy link

netlify bot commented Jul 23, 2023

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 9a3b5ac
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/64cae77c22b16c000853f56b

src/injector/Makefile Outdated Show resolved Hide resolved
@cmwylie19
Copy link
Contributor

LGTM

YrrepNoj
YrrepNoj previously approved these changes Jul 26, 2023
@Racer159 Racer159 requested a review from cmwylie19 as a code owner August 2, 2023 18:42
@Racer159 Racer159 requested a review from a team as a code owner August 2, 2023 22:29
Comment on lines +154 to +156
build-injector-linux: ## Build the Zarf injector for AMD64 and ARM64
docker run --rm --user "$(id -u)":"$(id -g)" -v $$PWD/src/injector:/usr/src/zarf-injector -w /usr/src/zarf-injector rust:1.71.0-bookworm make build-injector-linux

Copy link
Contributor

Choose a reason for hiding this comment

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

seems to be an extra $ in there

Copy link
Contributor

@cmwylie19 cmwylie19 left a comment

Choose a reason for hiding this comment

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

tested the make and it looks good from ARM64. I think this one lgtm as long as the tests pass

@Racer159 Racer159 enabled auto-merge (squash) August 2, 2023 23:33
@Racer159 Racer159 merged commit f2fc551 into main Aug 3, 2023
@Racer159 Racer159 deleted the migrate-injector-to-ghcr branch August 3, 2023 00:08
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.

4 participants