mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
feat: docker in parallel
This commit is contained in:
parent
32ca896a24
commit
ca35acf434
@ -141,8 +141,6 @@ func And(filters ...Filter) Filter {
|
||||
// is accepted.
|
||||
// You can compose filters by using the And and Or filters.
|
||||
func (artifacts *Artifacts) Filter(filter Filter) Artifacts {
|
||||
// TODO: this could be done lazily and the real job could be done in the
|
||||
// #List() method maybe?
|
||||
var result = New()
|
||||
for _, a := range artifacts.items {
|
||||
if filter(a) {
|
||||
|
@ -175,7 +175,6 @@ func link(src, dest string) error {
|
||||
}
|
||||
|
||||
func publish(ctx *context.Context, docker config.Docker, image, latest string) error {
|
||||
// TODO: improve this so it can log it to stdout
|
||||
if !ctx.Publish {
|
||||
log.Warn("skipping push because --skip-publish is set")
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user