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
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,9 @@ Where:
26
26
-`Image_Name` is provided by the user as an input.
27
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
+
Additionally it will use Git Tags pointing to the HEAD commit to create docker tags accordingly.
30
+
E.g. Git Tag v1.1 will result in an additional docker tag v1.1.
31
+
29
32
## Usage
30
33
31
34
@@ -52,6 +55,7 @@ jobs:
52
55
USERNAME: ${{ secrets.DOCKER_USERNAME }}
53
56
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
54
57
IMAGE_NAME: 'test-docker-action'
58
+
IMAGE_TAG: 'v0.0'
55
59
DOCKERFILE_PATH: 'argo/gpu.Dockerfile'
56
60
BUILD_CONTEXT: 'argo/'
57
61
@@ -68,8 +72,8 @@ jobs:
68
72
69
73
### Mandatory Inputs
70
74
71
-
1. `USERNAME` the login username, most likely your github handle. This username must have write access to the repo where the action is called.
72
-
2. `PASSWORD` Your GitHub password that has write access to the repo where this action is called.
75
+
1. `USERNAME` the login username, most likely your github handle. This username must have write access to the repo where the action is called. `x-access-token` should suffice.
76
+
2. `PASSWORD` Your GitHub password that has write access to the repo where this action is called. `${{ secrets.GITHUB_TOKEN }}` should suffice.
73
77
3. `IMAGE_NAME` is the name of the image you would like to push
74
78
4. `DOCKERFILE_PATH`: The full path (including the filename) relative to the root of the repository that contains the Dockerfile that specifies your build.
75
79
5. `BUILD_CONTEXT`: The directory for the build context. See these [docs](https://docs.docker.com/engine/reference/commandline/build/) for more information on the definition of build context.
0 commit comments