Skip to content

kindaninja/retag-image-ghcr

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retag-image-ghcr

Retags an image and pushes the new tag to GHCR.

Usage

Retagging a version for production

- name: Retag to prod
  uses: kindaninja/retag-image-ghcr@0.1.0
  with:
    registry: kindaninja/my-repository
    image: my-docker-image
    current_tag: v42-stage
    new_tag: v42-prod
    username: github
    password: ${{ secrets.GITHUB_TOKEN }}

The new tag will be pushed to the registry.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published