Skip to content

Commit

Permalink
ci: don't forget to validate docker as well
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Nov 8, 2023
1 parent 7c7ccef commit 4ccccb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/scripts/ci.zig
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,10 @@ fn validate_release(shell: *Shell, gpa: std.mem.Allocator, language_requested: ?
});
}
}

const docker_version = try shell.exec_stdout(
\\docker run ghcr.io/tigerbeetle/tigerbeetle:{version} version --verbose
, .{ .version = tag });
assert(std.mem.indexOf(u8, docker_version, tag) != null);
assert(std.mem.indexOf(u8, docker_version, "ReleaseSafe") != null);
}

0 comments on commit 4ccccb7

Please sign in to comment.