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

Regression on TARGETARG #14

Closed
bonitao opened this issue Apr 28, 2024 · 1 comment
Closed

Regression on TARGETARG #14

bonitao opened this issue Apr 28, 2024 · 1 comment

Comments

@bonitao
Copy link
Contributor

bonitao commented Apr 28, 2024

Minimal repro:

# syntax = devthefuture/dockerfile-x:v1.3.4
FROM alpine
ARG TARGETARCH
RUN echo $TARGETARCH > /root/targetarch.txt
CMD [ "cat" , "/root/targetarch.txt" ]

When running this container, instead of amd64, I get the empty string inserted in /root/targetarch.txt. If instead I use devthefuture/dockerfile-x:v1.3.3 (the previous version), then everything goes as expected.

@devthejo
Copy link
Contributor

devthejo commented Aug 5, 2024

OK, thanks for reporting
related to:

@devthejo devthejo closed this as completed Aug 5, 2024
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

2 participants