mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-26 17:11:19 +02:00
fix(image): align VERSION env var with pkg/version (#168)
This commit is contained in:
parent
4c4d692eb1
commit
04bb2dab8c
@ -64,7 +64,11 @@ tasks:
|
||||
COPY src/packer.json /packer.json
|
||||
COPY src/entrypoint.sh /bin/entrypoint.sh
|
||||
RUN chmod +x /bin/entrypoint.sh
|
||||
ENV VERSION {{ .Docker.Image.Tag }}
|
||||
{{ if .Git.IsTag }}
|
||||
ENV VERSION {{ .Git.Tag }}
|
||||
{{ else }}
|
||||
ENV VERSION {{ .Git.SHA }}
|
||||
{{ end }}
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
rootfs:
|
||||
template: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user