Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tada5hi/action-docker-image-publish
GitHub action, to build, tag and push docker images.
https://github.com/tada5hi/action-docker-image-publish
docker docker-image git-tag image publish push tag
Last synced: 28 days ago
JSON representation
GitHub action, to build, tag and push docker images.
- Host: GitHub
- URL: https://github.com/tada5hi/action-docker-image-publish
- Owner: tada5hi
- License: mit
- Created: 2022-12-23T13:37:01.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T05:17:38.000Z (9 months ago)
- Last Synced: 2024-09-29T02:21:07.248Z (about 1 month ago)
- Topics: docker, docker-image, git-tag, image, publish, push, tag
- Language: TypeScript
- Homepage:
- Size: 3.48 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# action-docker-image-publish 🎍
This repository contains a GitHub action, to
**build**, **tag** and **push** docker images,
under certain conditions.## Usage
```yaml
uses: tada5hi/action-docker-image-publish@v3
with:
# Name of Dockerfile
# Default: Dockerfile
dockerFileName: 'Dockerfile'# Relative path to DockerFile
# Default: ''
dockerFilePath: ''
# Whether to create an image tag for a git tag
# Default: true
gitTag: 'true'# Prefix for matching git tags
# Default: ''
gitTagPrefix: ''# Default: ghcr.io
registryHost: 'ghcr.io'
# Default: github.actor
registryUser: ${{ github.actor }}
# Default: ${{ github.token }}
registryPassword: ${{ github.token }}# Registry repository full name (e.g. project/repository)
# Default: github.repository
registryRepository: ${{ github.repository }}# Registry image tag (e.g. latest)
# Default: 'latest'
registryTag: 'latest'# Delete the built image at the end
# Default: 'true'
cleanup: 'true'
```