Fix Docker ARG variable naming
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 59s
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 59s
- Change release-name to release_name (underscores instead of hyphens) - Update CI workflow to use release_name build arg - Fixes Docker build error: buildpack-deps:name not found - Docker now properly resolves to buildpack-deps:unstable
This commit is contained in:
parent
fe3c11f185
commit
edff7e388d
2 changed files with 3 additions and 3 deletions
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/bootupd-sdboot
|
cd /tmp/bootupd-sdboot
|
||||||
docker build --build-arg release-name=unstable -f Dockerfile \
|
docker build --build-arg release_name=unstable -f Dockerfile \
|
||||||
-t bootupd-sdboot:latest .
|
-t bootupd-sdboot:latest .
|
||||||
|
|
||||||
- name: Build bootupd inside container
|
- name: Build bootupd inside container
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
ARG release-name=unstable
|
ARG release_name=unstable
|
||||||
FROM buildpack-deps:${release-name}
|
FROM buildpack-deps:${release_name}
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
|
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue