Skip to content

Commit

Permalink
Fix for basecamp#407
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-alexandrov committed Aug 8, 2023
1 parent aa89ede commit c24c7ab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/mrsk/configuration/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ def cache_to

private
def valid?
if @options["local"] && !@options["remote"]
raise ArgumentError, "You must specify both local and remote builder config for remote multiarch builds"
end

if @options["cache"] && @options["cache"]["type"]
raise ArgumentError, "Invalid cache type: #{@options["cache"]["type"]}" unless ["gha", "registry"].include?(@options["cache"]["type"])
end
Expand Down

0 comments on commit c24c7ab

Please sign in to comment.