Skip to content

Github Action to retag and push an existing Docker Image

License

Notifications You must be signed in to change notification settings

koraykoska/retag-docker-image

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

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retag-docker-image

Retags a given Docker Image and pushs the new tag to the given registry.

Usage

Retagging a Github sha tag to latest.

- name: Retag to latest
  uses: koraykoska/[email protected]
  with:
    registry: some.registry.com
    name: my-awesome-docker-image/my-package
    old_tag: ${{ github.sha }}
    new_tag: latest
    username: github
    password: ${{ secrets.GITHUB_TOKEN }}

The new tag will be pushed to the registry.

About

Github Action to retag and push an existing Docker Image

Resources

License

Stars

Watchers

Forks

Packages

No packages published