You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@ The GitHub Package Registry allows you to develop your code and host your packag
20
20
21
21
This Action will automatically tag each image as follows:
22
22
23
-
{Image_Name}:{shortSHA}
23
+
{Image_Name}:{IMAGE_TAG}
24
24
25
25
Where:
26
26
-`Image_Name` is provided by the user as an input.
27
-
-`shortSHA` is either the first 12 characters of the GitHub commit SHA or the value of IMAGE_TAG env variable
27
+
-`IMAGE_TAG` is either the first 12 characters of the GitHub commit SHA or the value of INPUT_IMAGE_TAG env variable
28
28
29
29
## Usage
30
30
@@ -83,7 +83,7 @@ jobs:
83
83
84
84
You can reference the outputs of an action using [expression syntax](https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions), as illustrated in the Example Pipeline above.
85
85
86
-
1. `IMAGE_SHA_NAME`: This is the `{Image_Name}:{shortSHA}` as described above.
86
+
1. `IMAGE_SHA_NAME`: This is the `{Image_Name}:{IMAGE_TAG}` as described above.
87
87
2. `IMAGE_URL`: This is the URL on GitHub where you can view your hosted Docker images. This will always be located at `https://github.com/{OWNER}/{REPOSITORY}/packages` in reference to the repository where the action was called.
88
88
89
89
These outputs are merely provided as convenience incase you want to use these values in subsequent steps.
0 commit comments