mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
feat: add option for docker image rebuild (#878)
Adds option to rebuild local action docker images Fixed up README due to missing flags after PR #714 and #716 Signed-off-by: hackercat <me@hackerc.at> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
65eea13a0b
commit
a99a1e9c5a
4 changed files with 5 additions and 1 deletions
|
@ -552,7 +552,7 @@ func (sc *StepContext) execAsDocker(ctx context.Context, action *model.Action, a
|
|||
}
|
||||
}
|
||||
|
||||
if !correctArchExists {
|
||||
if !correctArchExists || rc.Config.ForceRebuild {
|
||||
log.Debugf("image '%s' for architecture '%s' will be built from context '%s", image, rc.Config.ContainerArchitecture, contextDir)
|
||||
var actionContainer container.Container
|
||||
if localAction {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue