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

feat(makefile): add docker buildx support #69

Closed
wants to merge 1 commit into from

Conversation

awill1988
Copy link
Contributor

@awill1988 awill1988 commented Dec 10, 2020

Assumes that docker buildx has been setup on the developer's machine.

cnf.mak.docker

Introduces some logic to determine the arch and docker options and leave current Makefile behavior intact

Makefile

Add buildx-docker that will compile multi-arch images. On MacOS, it took me about 2 minutes--pretty fast!

Examples

  • make buildx-docker will push directly to the official image
  • make buildx-docker USERNAME_OR_REGISTRY TAG

Update
Fixed argument parsing for APPVERSION

fix(cnf.mak.docker): fix argument parsing
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.

None yet

1 participant