Skip to content

different settings values for publish vs publishLocal #1698

Description

@dontgitit

Hi,

I'd like to do something like the following:

// set `latest` tag for `publishLocal` but not `publish` - locally I just want to be able to `docker run myApp` rather than `docker run myApp:version`
// but in prod, I want to be explicit about which version I run, so I don't want a `latest` tag to exist
publishLocal / dockerUpdateLatest := true
// I don't care about the repo for `publishLocal`, as again it makes it more tedious to use `docker run myApp` vs `docker run myRepo/myApp`
publish / dockerRepository := Some("some ECR repo")

However, when I scope settings to a certain task as above, the value is ignored.

  1. Is this request/use case reasonable?
  2. Is there a way to achieve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions