-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename task to push-dockerfile
Signed-off-by: Chenxiong Qi <[email protected]>
- Loading branch information
Showing
13 changed files
with
113 additions
and
112 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
# push-dockerfile-oci-ta task | ||
|
||
Discover Dockerfile from source code and push it to registry as an OCI artifact. | ||
|
||
## Parameters | ||
|name|description|default value|required| | ||
|---|---|---|---| | ||
|ARTIFACT_TYPE|Artifact type of the Dockerfile image.|application/vnd.konflux.dockerfile|false| | ||
|CONTEXT|Path to the directory to use as context.|.|false| | ||
|DOCKERFILE|Path to the Dockerfile.|./Dockerfile|false| | ||
|IMAGE|The built binary image. The Dockerfile is pushed to the same image repository alongside.||true| | ||
|IMAGE_DIGEST|The built binary image digest, which is used to construct the tag of Dockerfile image.||true| | ||
|SOURCE_ARTIFACT|The Trusted Artifact URI pointing to the artifact with the application source code.||true| | ||
|TAG_SUFFIX|Suffix of the Dockerfile image tag.|.dockerfile|false| | ||
|
||
## Results | ||
|name|description| | ||
|---|---| | ||
|IMAGE_URL|Digest-pinned image URL.| | ||
|
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,10 @@ | ||
--- | ||
base: ../../push-dockerfile/0.1/push-dockerfile.yaml | ||
add: | ||
- use-source | ||
removeWorkspaces: | ||
- workspace | ||
replacements: | ||
workspaces.workspace.path: /var/workdir | ||
description: |- | ||
Discover Dockerfile from source code and push it to registry as an OCI artifact. |
File renamed without changes.
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,23 @@ | ||
# push-dockerfile task | ||
|
||
Discover Dockerfile from source code and push it to registry as an OCI artifact. | ||
|
||
## Parameters | ||
|name|description|default value|required| | ||
|---|---|---|---| | ||
|IMAGE|The built binary image. The Dockerfile is pushed to the same image repository alongside.||true| | ||
|IMAGE_DIGEST|The built binary image digest, which is used to construct the tag of Dockerfile image.||true| | ||
|DOCKERFILE|Path to the Dockerfile.|./Dockerfile|false| | ||
|CONTEXT|Path to the directory to use as context.|.|false| | ||
|TAG_SUFFIX|Suffix of the Dockerfile image tag.|.dockerfile|false| | ||
|ARTIFACT_TYPE|Artifact type of the Dockerfile image.|application/vnd.konflux.dockerfile|false| | ||
|
||
## Results | ||
|name|description| | ||
|---|---| | ||
|IMAGE_URL|Digest-pinned image URL.| | ||
|
||
## Workspaces | ||
|name|description|optional| | ||
|---|---|---| | ||
|workspace|Workspace containing the source code from where the Dockerfile is discovered.|false| |
Oops, something went wrong.