Skip to content

Commit

Permalink
add provision to pull docker image before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
burnerlee committed Dec 28, 2023
1 parent 272ba7b commit 13fc597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (s *Service) Deploy(ctx context.Context) error {
Pre: s.Pre,
Volumes: s.Volumes,
Networks: s.Networks,
AuthConfig: s.AuthConfig,
AuthConfig: s.Auth,
}
if err := d.validate(ctx); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion internal/service/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Service struct {
Pre []string `yaml:"pre,omitempty"`
Exec []string `yaml:"exec,omitempty"`
Networks []string `yaml:"networks,omitempty"`
AuthConfig *authConfig `yaml:"auth,omitempty"`
Auth *authConfig `yaml:"auth,omitempty"`
}

type authConfig struct {
Expand Down

0 comments on commit 13fc597

Please sign in to comment.