Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set container=docker for Kaniko v1.8.0 #108

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Conversation

int128
Copy link
Owner

@int128 int128 commented Mar 13, 2022

Since Kaniko v1.8.0, it raises the following error when a container runs on GitHub Actions.

kaniko should only be run inside of a container, run with the --force flag if you are sure you want to continue
https://github.com/int128/kaniko-action/runs/5519183807?check_suite_focus=true
1bfb738

I found the workaround at GoogleContainerTools/kaniko#1542 (comment). This PR will add it. I tested it at 3a23d78.

@int128 int128 marked this pull request as ready for review March 13, 2022 06:06
@int128 int128 merged commit 84bd5fe into main Mar 13, 2022
@int128 int128 deleted the workaround-kaniko-1.8 branch March 13, 2022 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant