-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: GenerateDAG: prevent using duplicate name labels in Dockerfiles
- Loading branch information
1 parent
a1cc197
commit fb3d1bf
Showing
5 changed files
with
57 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM debian:bullseye | ||
|
||
LABEL name="bullseye" | ||
LABEL version="v1" | ||
|
||
ARG HELLO="there" | ||
|
||
RUN echo "Hello $HELLO" |
5 changes: 5 additions & 0 deletions
5
test/fixtures/docker-duplicates/bullseye/duplicate1/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM eu.gcr.io/my-test-repository/bullseye:v1 | ||
|
||
LABEL name="duplicate" | ||
LABEL version="v1" | ||
LABEL dib.use-custom-hash-list="true" |
5 changes: 5 additions & 0 deletions
5
test/fixtures/docker-duplicates/bullseye/duplicate2/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM eu.gcr.io/my-test-repository/bullseye:v1 | ||
|
||
LABEL name="duplicate" | ||
LABEL version="v2" | ||
LABEL dib.use-custom-hash-list="true" |