https://github.com/rekgrpth/docker-login-build-push-shell-action
docker build push shell action
https://github.com/rekgrpth/docker-login-build-push-shell-action
action build docker push shell
Last synced: 4 months ago
JSON representation
docker build push shell action
- Host: GitHub
- URL: https://github.com/rekgrpth/docker-login-build-push-shell-action
- Owner: RekGRpth
- License: mit
- Created: 2021-08-04T04:47:53.000Z (almost 5 years ago)
- Default Branch: v1
- Last Pushed: 2025-01-01T19:09:19.000Z (over 1 year ago)
- Last Synced: 2025-04-12T23:13:36.308Z (about 1 year ago)
- Topics: action, build, docker, push, shell
- Language: Shell
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker login build push shell action
## 1) docker login to defined registry
## 2) docker build current workflow repository
## 3) docker push to defined registry
### usage
```yml
- env:
INPUTS_IMAGE: repo # image name to build, default: current workflow repository name
INPUTS_PASSWORD: ${{ github.token }} # password to docker login to registry, default ${{ github.token }}
INPUTS_REGISTRY: ghcr.io # docker registry, default: ghcr.io
INPUTS_TAG: master # tag, default: current workflow branch (usually it is repository default branch (usually it is master))
INPUTS_USERNAME: ${{ github.repository_owner }} # username to docker login to registry, default: ${{ github.repository_owner }}
uses: rekgrpth/docker-login-build-push-shell-action@v1
```