You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** This file was automatically generated by the `build-harness`.
19
+
** This file was automatically generated by the `cloudposse/build-harness`.
18
20
** 1) Make all changes to `README.yaml`
19
21
** 2) Run `make init` (you only need to do this once)
20
22
** 3) Run`make readme` to rebuild this file.
@@ -30,29 +32,6 @@
30
32
31
33
Promote docker image
32
34
33
-
---
34
-
35
-
This project is part of our comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps.
36
-
[<imgalign="right"title="Share via Email"src="https://docs.cloudposse.com/images/ionicons/ios-email-outline-2.0.1-16x16-999999.svg"/>][share_email]
37
-
[<imgalign="right"title="Share on Google+"src="https://docs.cloudposse.com/images/ionicons/social-googleplus-outline-2.0.1-16x16-999999.svg" />][share_googleplus]
38
-
[<imgalign="right"title="Share on Facebook"src="https://docs.cloudposse.com/images/ionicons/social-facebook-outline-2.0.1-16x16-999999.svg" />][share_facebook]
39
-
[<imgalign="right"title="Share on Reddit"src="https://docs.cloudposse.com/images/ionicons/social-reddit-outline-2.0.1-16x16-999999.svg" />][share_reddit]
40
-
[<imgalign="right"title="Share on LinkedIn"src="https://docs.cloudposse.com/images/ionicons/social-linkedin-outline-2.0.1-16x16-999999.svg" />][share_linkedin]
41
-
[<imgalign="right"title="Share on Twitter"src="https://docs.cloudposse.com/images/ionicons/social-twitter-outline-2.0.1-16x16-999999.svg" />][share_twitter]
42
-
43
-
44
-
45
-
46
-
It's 100% Open Source and licensed under the [APACHE2](LICENSE).
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
35
57
36
58
37
@@ -64,11 +43,8 @@ Promote Docker image to specific tags provided explicitly or implicitly with
64
43
65
44
66
45
67
-
68
46
## Usage
69
47
70
-
71
-
72
48
### Promote a docker image to specific tag
73
49
74
50
```yaml
@@ -190,38 +166,9 @@ If you skip `from` tag then it would be populated as SHA of the current commit i
190
166
191
167
192
168
193
-
<!-- markdownlint-disable -->
194
-
195
-
## Inputs
196
-
197
-
| Name | Description | Default | Required |
198
-
|------|-------------|---------|----------|
199
-
| from | Source tag | N/A | false |
200
-
| image\_name | Image name (excluding registry). Defaults to {{$organization/$repository}}. | | false |
201
-
| login | Docker login | | false |
202
-
| organization | Organization | N/A | true |
203
-
| password | Docker password | | false |
204
-
| registry | Docker registry | N/A | true |
205
-
| repository | Repository | N/A | true |
206
-
| to | Target tags | N/A | false |
207
-
| use\_metadata | Extract target tags from Git reference and GitHub events | true | false |
208
-
209
-
210
-
## Outputs
211
-
212
-
| Name | Description |
213
-
|------|-------------|
214
-
| image | Docker image name |
215
-
| tag | Docker image tag |
216
-
<!-- markdownlint-restore -->
217
-
218
169
219
170
220
-
## Share the Love
221
171
222
-
Like this project? Please give it a ★ on [our GitHub](https://github.com/cloudposse/github-action-docker-promote)! (it helps us **a lot**)
223
-
224
-
Are you using this project or any of our other projects? Consider [leaving a testimonial][testimonial]. =)
225
172
226
173
227
174
@@ -242,86 +189,84 @@ For additional context, refer to some of these links.
242
189
- [example-github-action-release-workflow](https://github.com/cloudposse/example-github-action-release-workflow) - Example application with complicated release workflow
243
190
244
191
245
-
## Help
246
-
247
-
**Got a question?** We got answers.
248
192
249
-
File a GitHub [issue](https://github.com/cloudposse/github-action-docker-promote/issues), send us an [email][email] or join our [Slack Community][slack].
This project is under active development, and we encourage contributions from our community.
254
197
255
198
256
-
We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.
We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.
206
+
For 🐛 bug reports & feature requests, please use the [issue tracker](https://github.com/cloudposse/github-action-docker-promote/issues).
263
207
264
-
- **Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
265
-
- **Release Engineering.** You'll have end-to-end CI/CD with unlimited staging environments.
266
-
- **Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
267
-
- **Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
268
-
- **GitOps.** You'll be able to operate your infrastructure via Pull Requests.
269
-
- **Training.** You'll receive hands-on training so your team can operate what we build.
270
-
- **Questions.** You'll have a direct line of communication between our teams via a Shared Slack channel.
271
-
- **Troubleshooting.** You'll get help to triage when things aren't working.
272
-
- **Code Reviews.** You'll receive constructive feedback on Pull Requests.
273
-
- **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
274
-
275
-
## Slack Community
276
-
277
-
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
278
-
279
-
## Discourse Forums
280
-
281
-
Participate in our [Discourse Forums][discourse]. Here you'll find answers to commonly asked questions. Most questions will be related to the enormous number of projects we support on our GitHub. Come here to collaborate on answers, find solutions, and get ideas about the products and services we value. It only takes a minute to get started! Just sign in with SSO using your GitHub account.
282
-
283
-
## Newsletter
284
-
285
-
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
286
-
287
-
## Office Hours
288
-
289
-
[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone!
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
209
+
1. Review our [Code of Conduct](https://github.com/cloudposse/github-action-docker-promote/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
210
+
2. **Fork** the repo on GitHub
211
+
3. **Clone** the project to your own machine
212
+
4. **Commit** changes to your own branch
213
+
5. **Push** your work back up to your fork
214
+
6. Submit a **Pull Request** so that we can review your changes
292
215
293
-
## Contributing
216
+
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!## Running Terraform Tests
294
217
295
-
### Bug Reports & Feature Requests
218
+
We use [Atmos](https://atmos.tools) to streamline how Terraform tests are run. It centralizes configuration and wraps common test workflows with easy-to-use commands.
296
219
297
-
Please use the [issue tracker](https://github.com/cloudposse/github-action-docker-promote/issues) to report any bugs or file feature requests.
220
+
All tests are located in the [`test/`](test) folder.
298
221
299
-
### Developing
222
+
Under the hood, tests are powered by Terratest together with our internal [Test Helpers](https://github.com/cloudposse/test-helpers) library, providing robust infrastructure validation.
300
223
301
-
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with our other projects, we would love to hear from you! Shoot us an [email][email].
- Install Go [1.24+ or newer](https://go.dev/doc/install)
227
+
- Install Terraform or OpenTofu
302
228
303
-
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
229
+
To run tests:
304
230
305
-
1. **Fork** the repo on GitHub
306
-
2. **Clone** the project to your own machine
307
-
3. **Commit** changes to your own branch
308
-
4. **Push** your work back up to your fork
309
-
5. Submit a **Pull Request** so that we can review your changes
231
+
- Run all tests:
232
+
```sh
233
+
atmos test run
234
+
```
235
+
- Clean up test artifacts:
236
+
```sh
237
+
atmos test clean
238
+
```
239
+
- Explore additional test options:
240
+
```sh
241
+
atmos test --help
242
+
```
243
+
The configuration for test commands is centrally managed. To review what's being imported, see the [`atmos.yaml`](https://raw.githubusercontent.com/cloudposse/.github/refs/heads/main/.github/atmos/terraform-module.yaml) file.
310
244
311
-
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
245
+
Learn more about our [automated testing in our documentation](https://docs.cloudposse.com/community/contribute/automated-testing/) or implementing [custom commands](https://atmos.tools/core-concepts/custom-commands/) with atmos.
312
246
247
+
### 🌎 Slack Community
313
248
314
-
## Copyright
249
+
Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/github-action-docker-promote&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
Sign up for [our newsletter](https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/github-action-docker-promote&utm_content=newsletter) and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know.
254
+
Dropped straight into your Inbox every week — and usually a 5-minute read.
[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/github-action-docker-promote&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and Terraform insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
<summary>Preamble to the Apache License, Version 2.0</summary>
266
+
<br/>
267
+
<br/>
323
268
324
-
See [LICENSE](LICENSE) for full details.
269
+
Complete license is available in the [`LICENSE`](LICENSE) file.
325
270
326
271
```text
327
272
Licensed to the Apache Software Foundation (ASF) under one
@@ -341,74 +286,17 @@ KIND, either express or implied. See the License for the
341
286
specific language governing permissions and limitations
342
287
under the License.
343
288
```
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
289
+
</details>
352
290
353
291
## Trademarks
354
292
355
293
All other trademarks referenced herein are the property of their respective owners.
356
294
357
-
## About
358
-
359
-
This project is maintained and funded by [Cloud Posse, LLC][website]. Like it? Please let us know by [leaving a testimonial][testimonial]!
360
-
361
-
[![Cloud Posse][logo]][website]
362
-
363
-
We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. We ❤️ [Open Source Software][we_love_open_source].
364
-
365
-
We offer [paid support][commercial_support] on all of our projects.
366
295
367
-
Check out [our other projects][github], [follow us on twitter][twitter], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation.
0 commit comments