{"repo":"elgohr/Publish-Docker-Github-Action","free":true,"listed":false,"github":"https://github.com/elgohr/Publish-Docker-Github-Action","clone":"git clone https://github.com/elgohr/Publish-Docker-Github-Action.git","description":"A Github Action used to build and publish Docker images","language":"Shell","stars":792,"topics":["actions","docker","publishing","github-actions","build","push","aws-ecr","continuous-delivery"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Publishes docker containers This Action for Docker uses the Git branch as the Docker tag for building and pushing the container. Hereby the master-branch is published as the latest-tag. Usage Example pipeline Mandatory Arguments name is the name of the image you would like to push username the login username for the registry password the authentication token [preferred] or login password for the registry. If you would like to publish the image to other registries, these actions might be helpful Registry Action ------------------------------------------------------ ----------------------------------------------- Amazon Webservices Elastic Container Registry (ECR) https://github.com/elgohr/ecr-login-action Google Cloud Container Registry https://github.com/elgohr/gcloud-login-action Outputs tag is the tag, which was pushed snapshot-tag is the tag that is generated by the snapshot-option and pushed digest is the digest of the image, which was pushed Optional Arguments registry Use registry for pushing to a custom registry. As GitHub Packages Docker registry uses a different path format to GitHub Container Registry or Docker Hub. See Configuring Docker for use with GitHub Package Registry for more information. For publishing to GitHub Container Registry please see Migrating to GitHub Container Registry for Docker images. If you're using GitHub Packages Docker or GitHub Container Registry, you might also want to use ${{ github.actor }} as the username . snapshot Use snapshot to pu","default_branch":null,"files":null,"tree":[],"storefront":"/r/elgohr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elgohr/Publish-Docker-Github-Action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}