Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tweedegolf/retag-action
- Owner: tweedegolf
- License: mit
- Created: 2024-07-11T10:25:59.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T09:42:20.000Z (6 months ago)
- Last Synced: 2024-07-12T12:24:29.125Z (6 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 }}# ...
# ...
```