mirror of
https://gitea.com/gitea/act
synced 2026-05-06 01:37:48 +02:00
fix: rewrite how image env is merged (#828)
* fix: rewrite how image env is merged * test: add test for extractFromImageEnv
This commit is contained in:
5
pkg/container/testdata/Dockerfile
vendored
Normal file
5
pkg/container/testdata/Dockerfile
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM scratch
|
||||
ENV PATH="/this/path/does/not/exists/anywhere:/this/either"
|
||||
ENV SOME_RANDOM_VAR=""
|
||||
ENV ANOTHER_ONE="BUT_I_HAVE_VALUE"
|
||||
ENV CONFLICT_VAR="I_EXIST_ONLY_HERE"
|
||||
Reference in New Issue
Block a user