Commit graph

101 commits

Author SHA1 Message Date
Divyanshu Agrawal
6dbeb7e1f6
Fix buildah issue of using overlay as storage driver (#51)
Work around https://github.com/redhat-actions/buildah-build/issues/45

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-09 10:32:13 -04:00
Divyanshu Agrawal
65f18d484c
Fix issue of workDir not being used in the code (#49)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-05 09:56:33 +05:30
Divyanshu Agrawal
8fe53efc79
Add cron in the workflow and workaround to fix buildah issue #3120 (#47)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-02 00:15:50 +05:30
Divyanshu Agrawal
3196e5acb5
Add Layers input for build using dockerfile (#43)
Also add link to buildah docs in the README

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-30 08:50:32 -04:00
divyansh42
54ff9945b9 Print buildah version at the top of the workflow
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-23 19:45:56 +05:30
Divyanshu Agrawal
71b37c4385
Add anchors to README headers (#37)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-09 08:40:14 -05:00
divyansh42
ef84eec383 Add changelog for v2.2.1
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-04 02:17:19 +05:30
Divyanshu Agrawal
1f7c249930
Add note to setup 'qemu-user-static' to build multi-arch image (#35)
* Add note to setup 'qemu-user-static' to build multi-arch image

Signed-off-by: divyansh42 <diagrawa@redhat.com>

* Resolve reviews

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-03 15:40:40 -05:00
divyansh42
aec3a155d1 Add changelog for v2.2
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-24 22:07:27 +05:30
Divyanshu Agrawal
76570bc65b Output msg if tags input is not provided (#33)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-24 22:03:20 +05:30
divyansh42
d871ed8ae9 Update changelog
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-18 00:55:49 +05:30
Divyanshu Agrawal
3c5ca2c147
Update Changelog for v2.1 (#31)
* Update Changelog for v2.1

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-18 00:46:45 +05:30
Divyanshu Agrawal
803a1413e7
Add feature to build multi-arch image (#27)
Since buildah now supports multi arch image
support (ref: https://github.com/containers/buildah/issues/1590)
This feature will allow building images for multiple
architectures.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-17 13:27:20 -05:00
Divyanshu Agrawal
21e07c3197
Add workflow, link checker and modify Readme (#30)
* Add test workflow for dockerfile build
* Add link checker workflow
* Modify Readme to divide input for build strategies

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-17 08:53:51 -05:00
K3rnelPan1c
e56c3269a5
Fix action version in README examples (#28) 2021-02-14 16:04:33 -05:00
Divyanshu Agrawal
9deeef6ee2
Add CHANGELOG.md (#26)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-10 08:06:09 -05:00
Divyanshu Agrawal
20a8e62ce0
Add io generator and CI checks (#25)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-08 11:24:18 -05:00
Divyanshu Agrawal
88e0085544
Add feature to output image with multiple tags (#21)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-01 12:54:50 -05:00
Tim Etchells
75dab40354 Add note about private registries
https://github.com/redhat-actions/buildah-build/issues/19

Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-12-21 12:06:14 -05:00
divyansh42
a1b98d2603 Cleanup Workflow
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2020-12-18 19:32:19 +05:30
Tim Etchells
d2594b7a96 Update description
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-12-10 10:37:04 -05:00
Luiz Carvalho
67be53338a Fix terminology around build types
"Building with Docker" implies docker is being used to build the image
instead of buildah.

"Building from scratch" implies building an image without a parent
image.

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
2020-12-10 09:53:44 -05:00
Tim Etchells
27067e030d Fix OCI input detection
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-30 14:45:05 -05:00
Tim Etchells
79eee840ca Update readme
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-27 17:13:23 -05:00
Divyanshu Agrawal
0ccc405c17
Update action.yml 2020-11-28 00:24:05 +05:30
Tim Etchells
1e642480e1 Images are no longer OCI by default
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-27 12:30:37 -05:00
Tim Etchells
fd4cb345bf Copy exec over from oc-login for better error reporting
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-26 13:52:13 -05:00
Tim Etchells
00654bad07 Default to docker image format
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-26 13:10:28 -05:00
divyansh42
3e81bc409d Update README.md
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2020-11-25 16:03:01 +05:30
divyansh42
895b4ed153 Fix verify build test
Fix verify build to avoid hardcoding of binary version

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2020-11-25 12:53:04 +05:30
divyansh42
3f226c0d35 Add Sanity Test
Adds Test to ensure code changes are not affecting the present action.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2020-11-25 11:05:51 +05:30
Tim Etchells
a65863e0db Fix error handling
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-23 17:08:25 -05:00
Tim Etchells
54d567b235 Add build-args input
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-23 14:03:32 -05:00
Tim Etchells
4e70c85f52 Rename to buildah-build
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-23 13:27:19 -05:00
Tim Etchells
4373525da7 Small readme edit, fix ncc dependency
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-19 14:49:47 -05:00
Tim Etchells
236b973ed2 Update readme, make 'image' input required
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-19 13:46:44 -05:00
Tim Etchells
2f1cc9082b Add verify bundle workflow and package-lock
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-19 13:44:17 -05:00
Luca Stocchi
d26694b47f add tag input
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-19 10:12:22 -05:00
Luca Stocchi
deaddbe502
add support for building images with docker files (#4) (#5)
* add support for building images with docker files (#4)

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fix issues when building image with dockerfile

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* update readme

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* Update README.md

Co-authored-by: Divyanshu Agrawal <diagrawa@redhat.com>

Co-authored-by: Divyanshu Agrawal <diagrawa@redhat.com>
2020-11-19 09:19:57 +01:00
Tim Etchells
329be0a470 Remove out/, add badges
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-16 23:29:58 -05:00
Luca Stocchi
1196e988b8
readme + cleaning
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-13 15:20:53 +01:00
Luca Stocchi
2168b4e067
fix issue when finding language-image file
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-13 12:55:02 +01:00
Luca Stocchi
3043388d5b
add language recognizer
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-13 12:38:29 +01:00
Luca Stocchi
652179bd8c
fixed issue with multiple args for entrypoint
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-07 13:25:52 +01:00
Luca Stocchi
69952a8f62
fix port setting issue
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-07 12:43:03 +01:00
Luca Stocchi
b5c3b226ac
sanitify output buildah from cmd
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-07 00:08:05 +01:00
Luca Stocchi
20c4f351ec
add debug logs
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-06 23:57:01 +01:00
Luca Stocchi
3c136d27ac
fixed typo
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-06 23:28:40 +01:00
Luca Stocchi
2cc874f622
adding readme and name
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-06 22:56:10 +01:00
Luca Stocchi
ce541b4331
add missing files for the action
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-06 22:48:47 +01:00