wesley-dean/Publish Image
Build and push Docker images to multiple registries
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_ref | GitHub ref | yes | — |
| repository_name | Repository name | yes | — |
| dockerfile | Path to the Dockerfile to build (defaults to Dockerfile in the build context) | no | — |
| context | Path to the build context | no | . |
| force_release | Force release-related tags, even if not a release | no | false |
| platforms | Platforms to build for | no | linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 |
| dockerhub_image | Dockerhub image name | no | — |
| dockerhub_username | DockerHub username | no | — |
| dockerhub_token | DockerHub access token | no | — |
| dockerhub_registry | DockerHub registry URL | no | docker.io |
| ghcr_image | GitHub Container Registry image name | no | — |
| ghcr_username | GitHub Container Registry username | no | — |
| ghcr_token | GitHub Container Registry personal access token (PAT) | no | — |
| ghcr_registry | GitHub Container Registry URL | no | ghcr.io |
| quay_image | Quay image name | no | — |
| quay_username | Quay username | no | — |
| quay_token | Quay access token | no | — |
| quay_registry | Quay registry URL | no | quay.io |
| harbor_image | Harbor image name | no | — |
| harbor_username | Harbor username | no | — |
| harbor_token | Harbor access token | no | — |
| harbor_registry | Harbor registry URL | no | goharbor.io |
| ecr_image | ECR image name | no | — |
| ecr_access_key_id | ECR access key ID | no | — |
| ecr_secret_access_key | ECR secret access key | no | — |
| ecr_region | ECR region | no | us-east-1 |
| ecr_registry | ECR registry URL | no | — |
| custom_image | Custom registry image name | no | — |
| custom_username | Custom registry username | no | — |
| custom_token | Custom registry access token | no | — |
| custom_registry | Custom registry URL | no | — |
Outputs
| name | description |
|---|---|
| dockerhub | Whether or not to push to DockerHub |
| dockerhub_image | DockerHub image name |
| ghcr | Whether or not to push to GitHub Container Registry |
| ghcr_image | GitHub Container Registry image name |
| quay | Whether or not to push to Quay |
| quay_image | Quay image name |
| harbor | Whether or not to push to Harbor |
| harbor_image | Harbor image name |
| ecr | Whether or not to push to ECR |
| ecr_image | ECR image name |
| ecr_image_url | ECR image URL |
| custom | Whether or not to push to a custom registry |
| custom_image | Custom registry image name |