-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add integration test to ensure that the build int BUILD args can be u…
…sed as part of a file
- Loading branch information
Showing
9 changed files
with
47 additions
and
11 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
integration/testdata/docker-run-with-build-args/single-artifact/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 busybox | ||
ARG IMAGE_TAG | ||
RUN echo $IMAGE_TAG | ||
COPY "script-${IMAGE_TAG}.sh" script.sh | ||
CMD ["/bin/sh","script.sh"] |
1 change: 1 addition & 0 deletions
1
integration/testdata/docker-run-with-build-args/single-artifact/script-latest.sh
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 @@ | ||
echo "HELLO WORLD" |
18 changes: 18 additions & 0 deletions
18
integration/testdata/docker-run-with-build-args/single-artifact/skaffold.yaml
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,18 @@ | ||
apiVersion: skaffold/v4beta12 | ||
kind: Config | ||
build: | ||
tagPolicy: | ||
sha256: {} | ||
local: | ||
push: false | ||
useDockerCLI: true | ||
artifacts: | ||
- image: example | ||
docker: | ||
dockerfile: Dockerfile | ||
noCache: true | ||
buildArgs: | ||
IMAGE_TAG: '{{.IMAGE_TAG}}' | ||
deploy: | ||
docker: | ||
images: [example] |