Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tweedegolf/retag-action

Add a tag to a docker image
https://github.com/tweedegolf/retag-action

Last synced: about 1 month ago
JSON representation

Add a tag to a docker image

Awesome Lists containing this project

README

        

# Retag action

Add a tag to a docker image

## Usage

```
# ...
jobs:

# ...

docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
# ...
- name: Retag the docker image
uses: tweedegolf/retag-action@main
with:
image: ${{ github.repository }}
tag: ${{ env.tag }}
new-tag: ${{ input.env }}-${{ env.tag }}
token: ${{ secrets.GITHUB_TOKEN }}

# ...

# ...
```