File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change 1- # publish-integration-image-action
1+ # publish-integration-image-action
2+
3+ This is a composite action that will publish you image to your Docker Registry.
4+
5+ ## Inputs
6+
7+ This action requires uses the following inputs:
8+
9+ | Name | Type | Description |
10+ | --------------------| ----------| ------------------------------------------------------------------------------------|
11+ | ` package-name ` | String | Name that the image should be published as to Docker Hub as |
12+ | ` docker-username ` | String | Username for the docker account to publish under |
13+ | ` docker-password ` | String | Password for the docker account to publish under |
14+ | ` push-to-registry ` | String | Determine if the built image should be pushed to registry (Default is 'false') |
15+
16+ The docker username and password will likely be passed by ` secrets ` . You must ensure your repo has access to these secret variables
17+
18+ ## Example Usage:
19+
20+ ``` yaml
21+ jobs :
22+ ...
23+
24+ publish-image :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v3
28+ - id : publish-image
29+ uses :
jupiterone/[email protected] 30+ with :
31+ package-name : ' jupiterone/graph-kubernetes'
32+ docker-username : ${{ secrets.DOCKERHUB_USERNAME }}
33+ docker-password : ${{ secrets.DOCKERHUB_TOKEN }}
34+ push-to-registry : ' true'
35+ ` ` `
36+
You can’t perform that action at this time.
0 commit comments