Skip to content

tweedegolf/retag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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 }}

      # ...

  # ...

About

Add a tag to a docker image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published