chipmk / docker-mac-net-connect

Connect directly to Docker-for-Mac containers via IP address 🐳 💻
MIT License
402 stars 41 forks source link

GitHub Actions #3

Open gregnr opened 2 years ago

gregnr commented 2 years ago

Problem

This project currently has no CI and therefore no way to consistently test/build/release the package.

This task is to setup GitHub actions to test the app, build it, build & push the Docker image, and release to Homebrew (using something like GoReleaser).

For Docker build, don't forget to build cross platform (to support both Intel and M1 chips), ie:

$ docker buildx build --platform linux/amd64,linux/arm64 --push -t ghcr.io/chipmk/docker-mac-net-connect/setup:latest .