Skip to content

Commit 997f249

Browse files
authored
Allow publishing the mailroom image with a master tag pointing to a rev (#1407)
2 parents c73733f + 6727984 commit 997f249

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

flake.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,13 @@
215215
containerImages =
216216
let
217217
envTag = builtins.getEnv "IMAGE_TAG";
218-
tag = if envTag != "" then envTag else (self.shortRev or "dirty");
218+
tag =
219+
if envTag == "master" then
220+
self.shortRev
221+
else if envTag != "" then
222+
envTag
223+
else
224+
self.shortRev or "dirty";
219225
in
220226
{
221227
"payjoin-mailroom-image" = mkContainerImage "payjoin-mailroom" packages.payjoin-mailroom tag;

0 commit comments

Comments
 (0)