Chris Crone
5c693c8a4e
Merge pull request #28 from crazy-max/archived
...
Deprecated
2021-06-22 15:05:39 +02:00
CrazyMax
2bd68317d5
Deprecated
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 14:39:20 +02:00
Nick Adcock
0f18e2abad
Merge pull request #17 from appleboy/cache
...
chore: support --cache-from arg
2020-04-22 16:19:23 +01:00
Bo-Yi Wu
9f2d8e01b6
docs: udpate readme
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-20 22:40:06 +08:00
Bo-Yi Wu
f05453caff
chore: update
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-18 01:45:47 +08:00
Bo-Yi Wu
f518c1b9a7
chore: support --cache-from arg
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-03-29 18:49:10 +08:00
Nick Adcock
468bbd103c
Merge pull request #16 from docker/login-before-build
...
Add e2e test for building from private registry
2020-03-23 11:07:48 +00:00
Nick Adcock
cd2d03d9e9
Add e2e test for building from private reg
...
Updates the e2e test for building from a private registry during
build-push. First build and push a base image and remove it locally then
build and push an image based on it.
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-20 15:27:28 +00:00
Nick Adcock
fa7d6ced52
Merge pull request #15 from docker/login-before-build
...
Login before build on build-push
2020-03-20 13:18:42 +00:00
Nick Adcock
5ebd304927
Login before build on build-push
...
If the username and password is set then do the login before the build
on build-push so that users can build using base images from a secure
private registry.
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-20 12:47:50 +00:00
Nick Adcock
776ef5a742
Merge pull request #14 from docker/licence-to-license
...
Rename LICENCE to LICENSE
2020-03-19 10:47:58 +00:00
Nick Adcock
af9ace6192
Rename LICENCE to LICENSE
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-19 10:43:35 +00:00
Nick Adcock
5ad9441b68
Merge pull request #11 from docker/use-build-push-action
...
Use docker/build-push-action@v1
2020-03-19 10:29:39 +00:00
Nick Adcock
a65ed53528
Use docker/build-push-action@v1
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-18 11:05:45 +00:00
Nick Adcock
cd07d4df03
Merge pull request #10 from docker/link-to-action
...
Add link to action in readme
2020-03-16 15:38:22 +00:00
Nick Adcock
056ad77655
Add link to action in readme
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-16 15:29:27 +00:00
Nick Adcock
826b584752
Merge pull request #8 from docker/readme-fix
...
Correct example tag_with_sha
2020-03-09 11:33:55 +00:00
Nick Adcock
89d33d8c16
Correct example tag_with_sha
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-09 11:29:27 +00:00
Nick Adcock
6674397a76
Merge pull request #7 from docker/use-image-v0.1
...
Use image v0.1
2020-03-09 10:29:21 +00:00
Nick Adcock
081dc82959
Use image v0.1
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-09 10:26:13 +00:00
Nick Adcock
4e90eff758
Merge pull request #5 from docker/add-opencontainers-labels
...
add_git_labels adds opencontainers labels
2020-03-09 10:06:04 +00:00
Nick Adcock
5f96875182
Concat instead of Sprintf when writing labels
...
Concat the label strings instead of using Sprintf for the opencontainers
labels as it is more readable and more efficient
https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-09 10:02:41 +00:00
Nick Adcock
8f2fb7652a
Merge pull request #6 from docker/add-license
...
Add Apache 2 license file
2020-03-06 14:07:16 +00:00
Nick Adcock
2df83f43e1
Add Apache 2 license file
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 14:04:24 +00:00
Nick Adcock
21bee7ec25
add_git_labels adds opencontainers labels
...
Setting the INPUT_ADD_GIT_LABELS env var to true adds labels as per the
opencontainers standard: https://github.com/opencontainers/image-spec/blob/master/annotations.md
The 3 labels supported are:
- org.opencontainers.image.created
- org.opencontainers.image.source
- org.opencontainers.image.revision
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 13:48:30 +00:00
Nick Adcock
b7a5ffd3e9
Merge pull request #4 from docker/add-timeout-to-ci
...
Add 5m timeout to CI
2020-03-06 09:27:09 +00:00
Nick Adcock
2bd786dcc1
Add 5m timeout to CI
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 09:23:12 +00:00
Nick Adcock
fed5809b1c
Merge pull request #3 from docker/DESKTOP-2410-action-definition
...
DESKTOP-2410 action definition
2020-03-05 15:34:14 +00:00
Nick Adcock
8f75de3045
Use docker/github-actions image for action
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 15:30:00 +00:00
Nick Adcock
d92f3464d3
Fixing nits in spelling and logging
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 15:29:35 +00:00
Nick Adcock
1c95b89e68
Fix pull ref format and improve logs
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 14:16:59 +00:00
Nick Adcock
8f12a61ec8
Improve logging
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 13:34:12 +00:00
Nick Adcock
0dee4f4693
Use action image with logs
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 13:20:00 +00:00
Nick Adcock
f7fe8d1c79
Build with --progress plain
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 13:15:23 +00:00
Nick Adcock
f59296258c
Write logs when running commands
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 13:10:00 +00:00
Nick Adcock
c29d53b86b
Only build code when building image
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 13:01:58 +00:00
Nick Adcock
53b9c148e4
Fix CI yml
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 12:56:06 +00:00
Nick Adcock
022767ef93
Use action and push on tags
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 11:11:58 +00:00
Nick Adcock
fa79dfbde9
Correct docker.Makefile all target
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 10:51:48 +00:00
Nick Adcock
a442440c9a
Add action.yml
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 10:10:40 +00:00
Nick Adcock
20414ad930
Merge pull request #2 from docker/spike-first-action
...
DESKTOP-2412 Github action 1: Write first code to run the action
2020-03-04 15:01:07 +00:00
Nick Adcock
e93e32e10e
Only replace / when tagging with ref
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 13:41:33 +00:00
Nick Adcock
66d44b6115
Return err when boolean inputs invalid
...
Returns an error when boolean inputs are invalid:
- tag_with_ref
- tag_with_sha
- push
If the inputs are not set then defaults to false
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 13:31:44 +00:00
Nick Adcock
804908464c
Rename server input to registry
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 12:08:56 +00:00
Nick Adcock
e856f73448
Add git labels description in readme
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 11:40:07 +00:00
Nick Adcock
791388d13b
Update doc for INPUT_TARGET to match cli help
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 11:13:34 +00:00
Nick Adcock
ba8eb4801f
Use cmd.Env to set env vars in e2e tests
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 11:07:18 +00:00
Nick Adcock
78d3747a27
Remove unrequired Getwd() from e2e tests
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 09:30:15 +00:00
Nick Adcock
f929a47d63
Use hashicorp/go-multierror
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 09:25:29 +00:00
Nick Adcock
6867dc1008
Refactoring nits for PR
...
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-04 09:22:21 +00:00