Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image tag get stage override #350

Open
sfuerte opened this issue Oct 26, 2022 · 0 comments
Open

Docker image tag get stage override #350

sfuerte opened this issue Oct 26, 2022 · 0 comments

Comments

@sfuerte
Copy link

sfuerte commented Oct 26, 2022

Is it possible to add support for the subject feature?

Right now an image's tag can be supplied for the source only, i.e. once for the whole pipeline:

  - name: my_image
    type: docker-image
    icon: docker
    source:
      repository: <some registry>
      tag: X.Y.Z
      <<: *repository_credentials

The idea (and necessity) to have it overridden per task, e.g. per environment used (dev / stage / prod):

  - name: build-dev
    plan:
      - get: my_image
        params:
          save: true
          tag: "X.Y.Z+1"  # tag override here

as a bonus, with such override it can be dynamic via load_vars step from a shared config source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant