Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex289/docker-image-transfer-action
Github Action to push a docker image from one registry to another
https://github.com/alex289/docker-image-transfer-action
docker github-actions
Last synced: about 6 hours ago
JSON representation
Github Action to push a docker image from one registry to another
- Host: GitHub
- URL: https://github.com/alex289/docker-image-transfer-action
- Owner: alex289
- License: mit
- Created: 2024-02-01T18:31:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T06:45:12.000Z (4 months ago)
- Last Synced: 2024-08-01T08:21:13.872Z (4 months ago)
- Topics: docker, github-actions
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Image Transfer Action
This GitHub Action pulls a Docker image from a source registry and pushes it to a destination registry.
## Usage
Add the following step to your GitHub Actions workflow:
> [!NOTE]
> If you need to login to the registry first set these inputs:
>
> - source_registry_username
> - destination_registry_username
> - source_registry_password
> - destination_registry_password```yml
- name: Transfer Docker image
uses: alex289/docker-image-transfer-action
with:
source: 'docker.io/user/source-repo:tag'
destination: 'docker.io/user/destination-repo:tag'
```Replace `docker.io/user/source-repo:tag` and `docker.io/user/destination-repo:tag` with your source and destination Docker image repositories, respectively.
## Inputs
- `source`: The source Docker image repository (e.g.: `docker.io/user/source-repo:tag`). This input is required.
- `destination`: The destination Docker image repository (e.g.: `docker.io/user/destination-repo:tag`). This input is required.## License
This project is licensed under the MIT License. See the [LICENSE](https://github.com/alex289/docker-image-transfer-action/blob/main/LICENSE) file for details.