From fd7d0b0d07ec823bffb279b492fdecca907b581c Mon Sep 17 00:00:00 2001 From: Nicolas Henin Date: Mon, 18 Mar 2024 11:11:25 +0100 Subject: [PATCH] tweaked to deploy images --- .github/workflows/deploy.yml | 3 ++- nix/marlowe-cardano/deploy/oci-images.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d08718b8ab..41910a3de9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,7 @@ on: push: branches: - main + - nhenin/sanchonet2 tags: - runtime@v* - marlowe-runtime-web@v* @@ -82,7 +83,7 @@ jobs: echo TAG=$TAG tagAndPush "marlowe-web-server" else - export "TAG=${GITHUB_SHA::8}" + export "TAG=conway-cardano-8.9.0" echo TAG=$TAG tagAndPush "marlowe-chain-indexer" tagAndPush "marlowe-chain-sync" diff --git a/nix/marlowe-cardano/deploy/oci-images.nix b/nix/marlowe-cardano/deploy/oci-images.nix index 439818f893..bf91d1a887 100644 --- a/nix/marlowe-cardano/deploy/oci-images.nix +++ b/nix/marlowe-cardano/deploy/oci-images.nix @@ -10,7 +10,7 @@ let mkImage = { name, description }: std.lib.ops.mkStandardOCI { inherit name; - tag = "conway-test"; + tag = "conway-cardano-8.9.0"; operable = operables.${name}; uid = "0"; gid = "0"; @@ -79,7 +79,7 @@ images // { copyToDockerDaemon = std.lib.ops.writeScript { name = "copy-to-docker-daemon"; text = forAllImages (name: img: - "${n2c.packages.skopeo-nix2container}/bin/skopeo --insecure-policy copy nix:${img} docker-daemon:${name}:conway-test" + "${n2c.packages.skopeo-nix2container}/bin/skopeo --insecure-policy copy nix:${img} docker-daemon:${name}:conway-cardano-8.9.0" ); }; };