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: add docker builder use nix #911

Merged
merged 5 commits into from
May 19, 2024
Merged

Conversation

Nobooooody
Copy link
Contributor

No description provided.

@Nobooooody
Copy link
Contributor Author

Nobooooody commented May 18, 2024

only tested on nixos docker/podman
require test on windows/darwin docker

nix build .#docker_builder
cp $(readlink result) ./ZeroBot-Plugin.tar.gz
gzip -d ZeroBot-Plugin.tar.gz
docker load -i ZeroBot-Plugin.tar
docker run -it zerobot-plugin:latest ZeroBot-Plugin # should add some config to map port and files

@Nobooooody
Copy link
Contributor Author

Nobooooody commented May 18, 2024

could test docker image ZeroBot-Plugin.tar within this zip
x86_64-linux-docker_image_zbp.zip

@fumiama fumiama merged commit 6210ed9 into FloatTech:master May 19, 2024
8 checks passed
@Nobooooody
Copy link
Contributor Author

only tested on nixos docker/podman require test on windows/darwin docker

nix build .#docker_builder
cp $(readlink result) ./ZeroBot-Plugin.tar.gz
gzip -d ZeroBot-Plugin.tar.gz
docker load -i ZeroBot-Plugin.tar
docker run -it zerobot-plugin:latest ZeroBot-Plugin # should add some config to map port and files

tested on wsl based windows dockerd

YumeMichi added a commit to YumeMichi/ZeroBot-Plugin that referenced this pull request Jun 4, 2024
* https://github.com/FloatTech/ZeroBot-Plugin:
  fix: workflow panic
  fix: workflow panic
  chore: downgrade indirect deps
  chore: drop win386 supports
  chore: update sqlite3 to 1.29.10
  fix(workflow): nightly cache
  chore: bump deps (FloatTech#917)
  🔖 v1.8.1
  chore: update deps
  chore: update deps
  fix robbery bug:Wallet is negative (FloatTech#914)
  chore: update deps
  fix(aireply): autoregistered with midfix `_`
  feat: add docker builder use nix (FloatTech#911)
  feat: add an action to make gomod2nix.toml auto update when go.mod/go.sum update (FloatTech#909)
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.

2 participants