Skip to content

Commit

Permalink
ci: add protocol to buildah manifest push command
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Sep 5, 2023
1 parent c09dff7 commit 7443b5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,22 +183,22 @@ let
# Tag and push image v X.Y.Z
echo "--- Pushing release ''${base}:''${version}"
dry_run buildah manifest push --all "''${manifest}" "''${base}:''${version}"
dry_run buildah manifest push --all "''${manifest}" "docker://''${base}:''${version}"
# Tag and push image v X.Y
tag="$(semver get major "''${version}").$(semver get minor "''${version}")"
echo "--- Pushing release ''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "docker://''${base}:''${tag}"
# Tag and push image v X
tag="$(semver get major "''${version}")"
echo "--- Pushing release ''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "docker://''${base}:''${tag}"
# Tag and push image latest
tag="latest"
echo "--- Pushing release ''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "''${base}:''${tag}"
dry_run buildah manifest push --all "''${manifest}" "docker://''${base}:''${tag}"
'';
};

Expand Down

0 comments on commit 7443b5a

Please sign in to comment.