Commit graph

42 commits

Author SHA1 Message Date
Sebastian Grabowski
fdef902b06
Check entrypoint array for emptyness
The entrypoint array of BuildahConfigSettings might be empty. It makes
no sense to push the `--entrypoint` argument then, thus breaking the
`convertArrayToStringArg` method.

Closes #136
2024-04-27 00:34:28 +02:00
Philipp Trulson
c79846fb30
Update Action to Node 20 (#128)
* Update GitHub Actions workflows to latest versions

* Update dependencies & run on Node 20
2024-02-01 21:52:34 +05:30
Philipp Trulson
6c6c802bcc
Forcibly remove existing manifest before creating a new one (#103)
* Remove existing manifest

* Always execute manifest rm
2023-02-09 15:08:33 +05:30
K3rnelPan1c
5177407148
Update Action to Node 16 and handle set-output deprecation (#109)
* update: action runtime to node16

* chore: pin dependencies

* fix: build error with new TS version

* add: editorconfig

* chore: update all actions used in workflows

* update: readme action sample versions

* chore: bump developer dependencies

* chore: bump developer dependencies

* fix: eslint issues

* fix: broken buildah copy logic

* chore: address review feedback version bump
2022-12-23 21:00:57 +05:30
divyansh42
4b8d36793b Update bundle
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2022-11-22 14:44:28 +05:30
Divyanshu Agrawal
df970b4ee2
Add --tls-verify and extra-args input for buildah from command (#95)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2022-06-02 13:22:38 +05:30
Divyanshu Agrawal
b053111d08
Make image and tag in lowercase if found in uppercase (#94)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2022-06-02 12:41:06 +05:30
Divyanshu Agrawal
5ca1dab81f
Skip manifest creation if single arch/platform is provided (#88)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-11-24 10:38:34 +05:30
Divyanshu Agrawal
72b90216e8
Modify image built message (#86)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-11-18 20:03:42 +05:30
Divyanshu Agrawal
3ffbc5da4f
Add manifest feature (#85)
* Add manifest feature

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-11-17 15:09:25 +05:30
なつき
c06a2c4759
Add 'labels' input (#80) 2021-10-19 11:41:41 -07:00
James Addison
bb88487cd2
Fix: platform parameter is not supported by buildah config (build-without-containerfile) (#83)
Signed-off-by: James Addison <jay@jp-hosting.net>
2021-10-18 23:11:01 +05:30
Tim Etchells
733d8e9a38 Update readme, changelog
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-10-14 15:40:05 -07:00
James Addison
3bb95d0042
Add support for 'platform' parameter (#75)
Signed-off-by: James Addison <jay@jp-hosting.net>
2021-10-14 15:09:15 -07:00
なつき
979e6a6c6e
Refactor inputs to support docker/metadata-action (#76) 2021-10-12 10:21:52 -07:00
Divyanshu Agrawal
f9dfea0413
Replace input dockerfiles with containerfiles (#69)
* Replace input dockerfiles with containerfiles

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-15 00:33:38 +05:30
Divyanshu Agrawal
ab006ef445
Add output image-with-tag (#68)
* Add output image-with-tag

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-13 20:34:36 +05:30
Divyanshu Agrawal
2ee55183af
Run buildah config command before copy command (#71)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-02 16:25:57 +05:30
Tim Etchells
48fe07762a Rename 'archs' input and improve multiarch (#62)
- Expand readme
- Add example

Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-07-09 11:24:50 -04:00
Divyanshu Agrawal
2f7f68ec84
Add extra-args input for build using dockerfile (#53)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-12 22:43:19 +05:30
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
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
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
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
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
27067e030d Fix OCI input detection
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-30 14:45:05 -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
Tim Etchells
a65863e0db Fix error handling
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-23 17:08:25 -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
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
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
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
ce541b4331
add missing files for the action
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-06 22:48:47 +01:00