|
1 | 1 |
|
2 | 2 |
|
3 | 3 | <!-- markdownlint-disable --> |
4 | | -# github-action-docker-build-push <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/github-action-docker-build-push&utm_content="><img align="right" src="https://cloudposse.com/logo-300x69.svg" width="150" /></a> |
5 | | -<a href="https://github.com/cloudposse/github-action-docker-build-push/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/github-action-docker-build-push.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a> |
| 4 | +<a href="https://cpco.io/homepage"><img src="https://github.com/cloudposse/github-action-docker-build-push/blob/main/.github/banner.png?raw=true" alt="Project Banner"/></a><br/> |
| 5 | + <p align="right"> |
| 6 | +<a href="https://github.com/cloudposse/github-action-docker-build-push/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/github-action-docker-build-push.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a></p> |
6 | 7 | <!-- markdownlint-restore --> |
7 | 8 |
|
8 | 9 | <!-- |
@@ -95,13 +96,19 @@ Build Docker image and push it. |
95 | 96 |
|
96 | 97 | | Name | Description | Default | Required | |
97 | 98 | |------|-------------|---------|----------| |
| 99 | +| allow | List of extra privileged entitlement (e.g., network.host,security.insecure) | N/A | false | |
98 | 100 | | build-args | List of build-time variables | N/A | false | |
| 101 | +| build-contexts | List of additional build contexts (e.g., name=path) | N/A | false | |
| 102 | +| buildkitd-flags | BuildKit daemon flags | --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host | false | |
99 | 103 | | cache-from | List of external cache sources for buildx (e.g., user/app:cache, type=local,src=path/to/dir) | type=gha | false | |
100 | 104 | | cache-to | List of cache export destinations for buildx (e.g., user/app:cache, type=local,dest=path/to/dir) | type=gha,mode=max | false | |
| 105 | +| debug | Enable debug mode | false | false | |
101 | 106 | | docker-metadata-pr-head-sha | Set to `true` to tag images with the PR HEAD SHA instead of the merge commit SHA within pull requests. | false | false | |
| 107 | +| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | N/A | false | |
102 | 108 | | file | Dockerfile name | Dockerfile | false | |
103 | 109 | | image\_name | Image name (excluding registry). Defaults to {{$organization/$repository}}. | | false | |
104 | 110 | | login | Docker login | | false | |
| 111 | +| network | Set the networking mode for the RUN instructions during build | N/A | false | |
105 | 112 | | no-cache | Send the --no-cache flag to the docker build process | false | false | |
106 | 113 | | organization | Organization | N/A | true | |
107 | 114 | | password | Docker password | | false | |
|
0 commit comments