- Update File
Update the flake.nix file after adding the new binaries to the ./tmp folder.
Change:
- jossoConfig.version (if neded)
- jossoConfig.jossoUpdate
- jossoVersion.filePath: change file name and query param so that nix rebuilds the content (if file name is the same it uses cached value in store)
- Build image
You can use the --rebuild flag to force a build.
nix build .#josso-ee-img- Import image
docker load < result
dfea5d3d84a0: Loading layer 894.9MB/894.9MB
Loaded image: ghcr.io/atricore/josso-ee:2.6.2-9- Upload image
docker image push ghcr.io/atricore/josso-ee:2.6.2-9
The push refers to repository [docker.io/atricore/josso-ee]
dfea5d3d84a0: Pushed
2.6.2-9: digest: sha256:c2627b8bda6a1db1e532f0dd490413b1c241f40831cf49f90db987b7371a3bef size: 529- For console, do the same