We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd079c0 commit 9ad3dcdCopy full SHA for 9ad3dcd
scripts/build.pl
@@ -11,6 +11,25 @@
11
die 'Usage build.pl <version>';
12
}
13
14
+if (not -f 'Dockerfile') {
15
+ die 'No Dockerfile found';
16
+}
17
+
18
+if (not -f 'gh') {
19
+ die 'No gh found';
20
21
22
+if (not -f 'action.yml') {
23
+ die 'No action.yml found';
24
25
26
+open my $fh, '<', 'action.yml';
27
+my $action_yml = do { local $/; <$fh> };
28
+if ($action_yml !~ m/docker:\/\/jonasbn\/github-action-spellcheck:$version/) {
29
+ die "Version in action.yml does not match: $version";
30
31
+close $fh;
32
33
say "Building Docker images for version: $version";
34
35
my @targets = qw(v0 latest);
0 commit comments