Skip to content

Commit

Permalink
✨ Support disable push base image after server started (#347)
Browse files Browse the repository at this point in the history
* ✨ Add workqueue inmemory implement

* ⬆️ Upgrade podman

* ✨ Support disable push base image after server started
  • Loading branch information
tosone authored Mar 21, 2024
1 parent 48a1aab commit 27dfde3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/inits/baseimage.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ func init() {

const baseImageDir = "/baseimages"

// const baseImageDir = "./bin"

func initBaseimage(config configs.Configuration) error {
if !config.Daemon.Builder.Enabled {
return nil
}
dir := strings.TrimPrefix(baseImageDir, "./")
if !utils.IsDir(dir) {
log.Info().Msg("Baseimage not found")
Expand Down

0 comments on commit 27dfde3

Please sign in to comment.