aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-01-19 12:56:59 -0500
committerXe Iaso <me@xeiaso.net>2025-01-19 12:56:59 -0500
commit55045aedfe14c25c67136dbb58b64726806799fd (patch)
treee64e4ce51c1e8a2d46c817d04ff5ea0a40d3ca91 /.github/workflows
parent090ef2fdad7032b09b02e4ffcaeeb4b64d174411 (diff)
downloadx-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.yml4
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