Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Oct 6, 2020
1 parent 0c3ceec commit 5779eee
Show file tree
Hide file tree
Showing 6 changed files with 3,132 additions and 3,066 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# Create a JavaScript Action using TypeScript

![build-test](https://github.com/Surgo/docker-smart-tag-action/workflows/build-test/badge.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About
# Generate Docker tag from for each branches or tags

Generate Docker tag from for each branches or tags

> :bulb: See also:
> * [docker/build-push-action](https://github.com/docker/build-push-action/)
### Example (smart) tag
## Example (smart) tag

* Pull request: `pr-<pull request number>`
* Publish with tags: `v1.0.0` => `1.0.0`, `1.0`, `1` and `latest`
* Branch: `topic/my_branch` => `topic-my_branch`
* Default branch => `edge`
* Scheduled build => `nightly`

## Usage
# Usage

```yaml
jobs:
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Generate smart tag for Docker images
description: Generate Docker tag from for each branches or tags
name: Guess tag for Docker images
description: Guess Docker tag from each branches or tags
author: Kosei Kitahara
branding:
icon: 'tag'
Expand Down
Loading

0 comments on commit 5779eee

Please sign in to comment.