3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-27 11:59:37 +01:00
Commit graph

247 commits

Author SHA1 Message Date
CrazyMax
de804a56b7
Throw error message instead of exit code
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 21:07:57 +02:00
CrazyMax
29cf8ab8dc
Enable iidfile for multi-platform
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 09:51:12 +02:00
CrazyMax
71d586a48c
Fix tmpDir and defaultContext func
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 02:46:46 +02:00
CrazyMax
84306df16c
Merge pull request #185 from crazy-max/fix-iidfile
Do not set --iidfile flag if local or tar exporters are used
2020-10-20 17:58:58 +02:00
CrazyMax
bf051e6237
Use csv-parse lib to parse outputs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 15:18:07 +02:00
CrazyMax
695ef9e5a5
Add minimal job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-19 22:17:35 +02:00
dependabot[bot]
64fe20b36e
Bump codecov/codecov-action from v1.0.13 to v1.0.14
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 06:51:35 +00:00
CrazyMax
5b56278dbc
Fix ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-11 19:17:08 +02:00
CrazyMax
9e2936f9ed
Writes cache metadata into the image configuration
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-04 01:10:51 +02:00
CrazyMax
5538ea42ec
Add registry cache job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-04 00:01:23 +02:00
CrazyMax
499091e46b
Check digests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-03 23:41:42 +02:00
CrazyMax
a94448a773
Enhanced git context and cache workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-03 22:44:21 +02:00
dependabot[bot]
4513bf8897
Bump crazy-max/ghaction-github-labeler from v3.0.0 to v3.1.0
Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from v3.0.0 to v3.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-labeler/compare/v3.0.0...dbccbd0ebd1178b5942ba419c921b36525829588)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-29 06:14:30 +00:00
dependabot[bot]
b072fc7fae
Bump actions/checkout from v2.3.2 to v2.3.3
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 06:25:40 +00:00
CrazyMax
e952699f4d
Fix CI workflow and README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-23 11:04:40 +02:00
CrazyMax
32351da9d7
Update CI workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-22 20:53:40 +02:00
CrazyMax
65a1a173ac
Move to dedicated md
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-21 21:06:04 +02:00
CrazyMax
5281740ad2
Add Troubleshooting section
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-21 18:23:09 +02:00
itchyny
d60f174305 Update example action for labels
Signed-off-by: itchyny <itchyny@hatena.ne.jp>
2020-09-16 03:36:39 +09:00
CrazyMax
f45dc4a7b8
Fix example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 21:38:49 +02:00
CrazyMax
6fd2a708bd
Update example workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 21:14:33 +02:00
CrazyMax
9a445780ad
Fix events on CI workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 20:53:25 +02:00
CrazyMax
371daebc6f
Update example with explanations
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 20:40:18 +02:00
CrazyMax
dbdfd86c1d
Enhanced with OCI Image Format Specification labels
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 01:45:05 +02:00
CrazyMax
28d7281ebf
Cleanup
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-11 00:53:06 +02:00
CrazyMax
c78f7c3517
Fix dependabot labels
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-09 16:18:06 +02:00
dependabot[bot]
520adf89c3
Bump codecov/codecov-action from v1.0.7 to v1.0.13
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.7 to v1.0.13.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.7...6004246f47ab62d32be025ce173b241cd84ac58e)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 05:51:00 +00:00
CrazyMax
1f582c9fe5
Merge pull request #109 from crazy-max/add-codecov
Add Codecov
2020-09-09 01:00:50 +02:00
CrazyMax
4f52913403
Set setup-buildx and setup-qemu actions to v1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-09 00:32:40 +02:00
CrazyMax
6c053f55dc
Add Codecov
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 23:34:53 +02:00
dependabot[bot]
865abb5a44
Bump actions/checkout from v2.3.1 to v2.3.2
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.1 to v2.3.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.1...2036a08e25fa78bbd946711a407b529a0a1204bf)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08 21:16:37 +00:00
CrazyMax
b4bae2181a
Simplify workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 11:26:06 +02:00
CrazyMax
562df850e8
Use service container
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-05 05:18:15 +02:00
CrazyMax
ff910a3b64
Update CI workflow (docker/setup-buildx-action#14)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-03 18:17:27 +02:00
CrazyMax
f295fbf080
Add secrets input
Use Git as default context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-02 10:07:11 +02:00
CrazyMax
c124ff0226
Add GitHub cache example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-29 16:10:05 +02:00
CrazyMax
d8e8fa4354
Move setup-buildx and setup-qemu actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-24 14:04:40 +02:00
CrazyMax
2a794d5efe
Use docker/setup-buildx-action and docker/setup-qemu-action
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-24 13:54:16 +02:00
CrazyMax
1baa07036c
Fix workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-23 04:07:29 +02:00
CrazyMax
e13f2c26a1
Update workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-23 04:06:55 +02:00
CrazyMax
3e57a3300a
Check Buildx version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-23 03:31:38 +02:00
CrazyMax
595e5e8d62
Add dependabot
Add default reviewers

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-21 17:19:56 +02:00
CrazyMax
65e18bfb3c
Bug report template
CONTRIBUTING and SUPPORT guidelines

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-19 21:52:47 +02:00
CrazyMax
ea664df512
Add badges and screenshot
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-19 21:46:12 +02:00
CrazyMax
38c1f188ca
Add digest output
Fix platforms and allow inputs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 22:18:37 +02:00
CrazyMax
44d05b9191
Remove GitHub Cache support for now (future release or buildkit cache provider?)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 18:35:15 +02:00
CrazyMax
2962fe9789
Remove bake support for now (future release or subaction)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 18:26:46 +02:00
CrazyMax
e7964906a6
Use url fragment for git ref context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 17:31:27 +02:00
CrazyMax
ff03fa50a4
Inspect pushed image
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:42:46 +02:00
CrazyMax
e0b127751c
Set buildkitd-flags for ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:37:37 +02:00
CrazyMax
1110973d9c
Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:33:38 +02:00
CrazyMax
363c8ed24f
Treat platforms and allow as a list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:32:27 +02:00
CrazyMax
fbd34eda32
Merge branch 'v2-working-branch' into v2-build-push
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 01:06:14 +02:00
CrazyMax
bf8b1bf979
Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 23:15:54 +02:00
CrazyMax
444d7e9909
Add post run
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:38:03 +02:00
CrazyMax
22acf7cb32
Test GitHub Cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:31:37 +02:00
CrazyMax
1c3fedb652
Use latest buildx for git context test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 19:22:14 +02:00
CrazyMax
9c473659de
Check context type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 19:13:19 +02:00
CrazyMax
10b9d7ec22
Fix context url
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 18:21:00 +02:00
CrazyMax
7086e3777e
Set file input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:58:09 +02:00
CrazyMax
4bbd4aa946
Test git context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:55:47 +02:00
CrazyMax
8be103ff82
Handle build bake through bake, bake-files and bake-targets
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:18:08 +02:00
CrazyMax
b07bd1f9df
Fix ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 07:08:46 +02:00
CrazyMax
01bd5c1fa9
Add allow input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 07:07:06 +02:00
CrazyMax
78a1e0d9a3
Remove builder v1 support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 05:53:50 +02:00
CrazyMax
e9cb922263
Fix and cleanup of v2 setup actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:14:43 +02:00
CrazyMax
25daa691dd
Typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 03:21:48 +02:00
CrazyMax
f7cac3b071
Refactor Docker config
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 02:37:47 +02:00
CrazyMax
6b0b71d882
Disable buildx push for now
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:58:05 +02:00
CrazyMax
23410eee4e
Push to local registry
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:52:29 +02:00
CrazyMax
52102ad62f
Remove runner info step
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:51:39 +02:00
CrazyMax
99bea387ee
Build push action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 00:36:41 +02:00
CrazyMax
4e201a2f03
Switch working branch
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 20:01:01 +02:00
CrazyMax
33f14d658e
Temp branch event trigger for our tests on v2 actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 19:55:34 +02:00
CrazyMax
8f0f662386
Rename buildx-version input to version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-13 10:42:57 +02:00
CrazyMax
0cc5e42c7a
Add name output to identify builder instance name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 20:27:50 +02:00
CrazyMax
b72149bbe7
Update workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 16:15:50 +02:00
CrazyMax
1ef57147e1
Update workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 16:00:25 +02:00
CrazyMax
15c6a86f2d
Add 'use' input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 15:10:05 +02:00
CrazyMax
d0f7649930
Fix workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 14:10:08 +02:00
CrazyMax
5cec6ce786
Add driver and driver-opt inputs for setup-buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 14:07:04 +02:00
CrazyMax
4bde7b156d
Dump context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 02:13:00 +02:00
CrazyMax
4522dd93f5
Dump context composite
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 01:53:29 +02:00
CrazyMax
2f906a9cb7
Output available platforms for setup-qemu
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 01:48:35 +02:00
CrazyMax
674ff6ada6
Trigger on master branch
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 22:55:56 +02:00
CrazyMax
3f39bb96b5
Dump contexts for testing purpose
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 22:24:25 +02:00
CrazyMax
66ba91a185
Use master tag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:56:01 +02:00
CrazyMax
e3626b5cb1
Fix workflows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:53:26 +02:00
CrazyMax
b943609390
Switch to tonistiigi/binfmt
Add platforms input to choose what platforms to install

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:49:46 +02:00
CrazyMax
5290010a6f
Add install input to set buildx as default builder (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:34:00 +02:00
CrazyMax
87d5297de8
Add qemu + buildx job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:59 +02:00
CrazyMax
64d53ac2cf
Add setup-qemu action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:58 +02:00
CrazyMax
36c90bc3ab
Fix setup-buildx test workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:58 +02:00
CrazyMax
6df1822dc3
Add setup-buildx action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:49 +02:00
Nick Adcock
ec965500d9 Add timeout to CI
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 18:10:18 +00:00
Nick Adcock
387d4c62d0 Limit CI to master, tags, and PRs
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 17:10:12 +00:00
Nick Adcock
676cae2f85 Add basic CI workflow to test action works
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 15:52:50 +00:00