mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-22 06:45:03 +01: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