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

Feature Request: Allow .CHECKSUM and .TIMESTAMP variables to be used in cmds #1735

Open
andreynering opened this issue Aug 4, 2024 Discussed in #1734 · 0 comments
Open
Labels
good first issue Issues that are good for first-time contributors to pick up.

Comments

@andreynering
Copy link
Member

Discussed in #1734

Originally posted by pavetok August 4, 2024
Hi everyone,

First of all, thanks for the great tool!

I want to build docker image only when sources changed, but {{.CHECKSUM}} empty in cmds :(

Why is that?

image:
  sources:
    - ./**
  status:
    - docker image inspect my/app:{{.CHECKSUM}}
  cmds:
    - docker build . -t my/app:latest -t my/app:{{.CHECKSUM}}
```</div>
@andreynering andreynering added type: feature A new feature or functionality. good first issue Issues that are good for first-time contributors to pick up. labels Aug 4, 2024
@andreynering andreynering changed the title Feature Request: Allow {{.CHECKSUM}} and {{.TIMESTAMP}} variables to be used in cmds Feature Request: Allow .CHECKSUM and .TIMESTAMP variables to be used in cmds Aug 4, 2024
@pd93 pd93 removed the type: feature A new feature or functionality. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are good for first-time contributors to pick up.
Projects
None yet
Development

No branches or pull requests

2 participants