Commit Graph

46 Commits

Author SHA1 Message Date
3e0911cc5c
chore: bump kaniko to 1.7.0-debug
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 00:43:37 +02:00
Colin Hoglund
ac015e1f9a
Add support for creating ECR repos (#24)
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-29 20:03:37 +02:00
665106ec23
Merge branch 'main' into dev
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-20 14:26:10 +02:00
95412ee324
feat: upgrade to a cgroupv2-aware kaniko (#1)
All checks were successful
continuous-integration/drone/push Build is passing
since commit b22e993224, kaniko is cgroupv2-aware.

hotfix of a34e88943a is therefore no longer needed.

Reviewed-on: #1
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
2021-08-20 13:14:31 +02:00
Shubham Agrawal
dbd6efc157
Add option to provide log verbosity (#23) 2021-08-20 16:38:35 +05:30
7eb35192c4
chore: bump kaniko to 1.6.0-debug
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-05 03:55:57 +02:00
a34e88943a
fix: temporary patch for kaniko on cgroup v2 hosts
All checks were successful
continuous-integration/drone/push Build is passing
This is a temporary workaround that enables kaniko to run on cgroup v2
enabled hosts. Due to an upstream issue, kaniko fails to detect that it
is indeed being run from a container.
Solution introduced here is to force kaniko to run regardless.

ref: https://github.com/GoogleContainerTools/kaniko/issues/1592
2021-05-02 01:37:56 +02:00
4b5ab7f6fb
chore: bump kaniko version to 1.5.2-debug 2021-05-02 01:16:15 +02:00
b6919b2cda
option parsing logic: add fallback values
* don't exit on no values provided but instead use sane defaults for
  username, password and registry
* add "--no-push" flag if REPO name has not been specified
* only allow setting of TAGS if REPO has been specified as well
2021-05-02 01:15:47 +02:00
73e95f29d3
feat: build {amd64,pure docker} only
* rm arm/arm64/gcr/ecr related build instructions in build.sh
  and .drone.ml, only build for amd64
* change autotag to manually specified tags (2 static, one dynamic)
* change the branch referenced in .drone.yml as we're using dev by
  default
* module path is now git.dotya.ml/wanderer/drone-kaniko/*
2021-05-02 01:15:12 +02:00
16babe9904
chore: add a README note about this repo 2021-05-02 01:08:00 +02:00
Rauny
e65b7b3ada
add flag --no-push (#21) 2021-04-29 20:53:43 +05:30
Aleksandar Radisavljevic
df81f82f84
Add support for printing published docker image metadata to a file (#17) 2021-04-29 15:35:57 +05:30
Rauny
43db3f2ccc
add support for public ecr (#20) 2021-04-27 00:05:18 +05:30
Shubham Agrawal
71f15eb3f4
Make cache repo relative to registry for ecr/gcr (#19)
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-04-21 12:55:13 +05:30
Shubham Agrawal
4612825d41
Allow remote caching of docker layers in kaniko build (#16) 2021-04-08 00:05:53 +05:30
Shubham Agrawal
0933926fe2
Updated drone yml to update docker latest image (#15) 2021-03-19 17:46:22 +05:30
Shubham Agrawal
658478d5ae
Add snapshot mode support (#13) 2021-03-02 21:15:44 +05:30
Beniamin
9cca954ec6
add skip-tls-verify flag for insecure private registries (#11)
Co-authored-by: beniamin.calota <beniamin.calota@emag.ro>
2021-02-18 13:49:21 +05:30
Shubham Agrawal
3e4dad8cae
Merge pull request #10 from drone/fix_pipeline
Fix pipeline yaml with auto tag suffix
2021-01-30 00:10:51 +05:30
Shubham Agrawal
69d5e73564 Fix pipeline yaml with auto tag suffix 2021-01-30 00:09:22 +05:30
Shubham Agrawal
b33681a9b9
Merge pull request #9 from drone/improve_err
Log error if dockerfile does not exist at provided path
2021-01-29 14:41:19 +05:30
Shubham Agrawal
cdd1510210 Log error if dockerfile does not exist at provided path 2021-01-29 14:39:06 +05:30
Shubham Agrawal
fa7726153d
Merge pull request #8 from drone/ecr_iam
Make access key & secret optional in case of iam role usage on EKS cluster
2021-01-20 00:28:57 +05:30
Shubham Agrawal
49309bfa42 Make access key & secret optional in case of iam role usage on EKS cluster 2021-01-20 00:25:23 +05:30
Shubham Agrawal
428642719b
Merge pull request #7 from drone/fix_label
Fix label usage
2021-01-18 21:15:01 +05:30
Shubham Agrawal
33f15bdebe Fix label usage 2021-01-18 21:12:53 +05:30
Shubham Agrawal
10df8f28b9
Merge pull request #6 from drone/fix_ecr
Fix kaniko ecr publish
2020-12-02 15:20:00 +05:30
Shubham Agrawal
17072a25f1 Fix ecr publish 2020-12-02 15:17:28 +05:30
Shubham Agrawal
26c93eccd1
Merge pull request #5 from drone/fix_gcr
Fix kaniko-gcr docker file
2020-11-26 23:50:20 +05:30
Shubham Agrawal
ee562a4a1b Fix kaniko-gcr docker file 2020-11-26 23:47:00 +05:30
Shubham Agrawal
e200b5c566
Merge pull request #4 from drone/v2_registry
fix docker v2 registry issue
2020-11-26 16:32:29 +05:30
Shubham Agrawal
2c637d285e fix docker v2 registry issue 2020-11-26 16:29:05 +05:30
Shubham Agrawal
4be32f2451
Merge pull request #3 from drone/fix_build_script
fix build script
2020-11-26 11:47:54 +05:30
Shubham Agrawal
5ba1a0ead7 fix build script 2020-11-26 11:45:10 +05:30
Shubham Agrawal
ef7bb68898
Merge pull request #2 from drone/fix_image
Fix docker file used for kaniko-docker image
2020-11-25 23:44:38 +05:30
Shubham Agrawal
9a7b245d90 Fix docker file for kaniko-docker 2020-11-25 23:42:56 +05:30
Shubham Agrawal
0d853fd119
Merge pull request #1 from drone/version_update
Updated kaniko base image to v1.3.0
2020-11-24 12:07:33 +05:30
Shubham Agrawal
94c4f7ea1b Updated kaniko base image to v1.3.0 2020-11-21 16:13:01 +05:30
Brad Rydzewski
d24a3d83c2 added placeholder arm64 dockerfiles [ci skip] 2020-11-19 15:02:21 -05:00
Brad Rydzewski
7f3b7a9bbb publish amd64 images 2020-11-19 14:27:09 -05:00
Shubham Agrawal
de01ca7375 Fixed readme 2020-11-17 00:39:21 +05:30
Shubham Agrawal
3770c3eb25 Added kaniko support to build & publish to ecr 2020-11-17 00:33:18 +05:30
Shubham Agrawal
0cbbf054a5 Added support to build and publish GCR image 2020-11-17 00:20:20 +05:30
Shubham Agrawal
1fbaab2bee Working kaniko publish to docker 2020-11-16 23:41:59 +05:30
Shubham Agrawal
aaed706917 Initial kaniko docker 2020-11-16 23:07:13 +05:30