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

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Publish docker action

This action publish docker image to your registry

Inputs

username

Required Registry username to authentication.

password

Required Registry password to authentication.

repository

Required Repository on registry.

registry

If you didn't use dockerhub, pass registry hostname.

tag

Image tag. If you don't want to set, it sets default snapshot tag(current time).

Outputs

image

Tagged image name

Example usage

If you use dockerhub[https://hub.docker.com],

uses: zenato/docker-action@masterwith:
username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}repository: user/test-repotag: 1.0

Other registry,

uses: zenato/docker-action@masterwith:
username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}repository: user/test-repo/test-appregistry: docker.pkg.github.comtag: 1.0

About

GitHub Actions for build and publish Docker Image

Topics

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages