diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-19 12:56:59 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-19 12:56:59 -0500 |
| commit | 55045aedfe14c25c67136dbb58b64726806799fd (patch) | |
| tree | e64e4ce51c1e8a2d46c817d04ff5ea0a40d3ca91 /.github/workflows | |
| parent | 090ef2fdad7032b09b02e4ffcaeeb4b64d174411 (diff) | |
| download | x-55045aedfe14c25c67136dbb58b64726806799fd.tar.xz x-55045aedfe14c25c67136dbb58b64726806799fd.zip | |
Earthfile: embed the version in CI
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/earthly.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/earthly.yml b/.github/workflows/earthly.yml index 5ca54d8..2768fbd 100644 --- a/.github/workflows/earthly.yml +++ b/.github/workflows/earthly.yml @@ -40,9 +40,9 @@ jobs: if: github.event_name != 'pull_request' id: build-and-push run: | - earthly --org me-2625 --sat alpha --ci --push +all + earthly --org me-2625 --sat alpha --ci --push +all --VERSION=$(git describe --tags) - name: Build Docker image if: github.event_name == 'pull_request' id: build run: | - earthly --org me-2625 --sat alpha --ci +all
\ No newline at end of file + earthly --org me-2625 --sat alpha --ci +all --VERSION=$(git describe --tags)
\ No newline at end of file |
