Skip to content

Commit

Permalink
add option for custom-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke committed Aug 14, 2023
1 parent 2541cc0 commit 28ce106
Show file tree
Hide file tree
Showing 4 changed files with 1,311 additions and 1,297 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ While the action allows many stages to be pushed to the registry for future re-u
| `stages` | **yes** | | Comma-separarted list of build stages. Each of these will be an explicit cache target for subsequent builds |
| `server-stage` | **yes** | | Name of stage for server |
| `tag-latest-on-default` | no | `true` | Automatically create a `latest` tag when run on the default branch |
| `custom-tag` | no | ` ` | A user-defined tag to apply to successfully built and pushed images |
| `testenv-stage` | no | | Name of stage for test environment |
| `context` | no | `.` | Build context |
| `dockerfile` | no | `Dockerfile` | Path to the Dockerfile |
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ inputs:
default: true
description: Automatically create a "latest" tag when the action is run on the default branch (defaults to `true`)
required: false
custom-tag:
default: ''
required: false
description: A user-defined tag to apply to successfully built and pushed images
testenv-stage:
required: false
description: Docker target for testing
Expand Down
Loading

0 comments on commit 28ce106

Please sign in to comment.