From 09f4c26f3092d949ee61100bfd4314ff4f351aee Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Sat, 25 Nov 2023 18:06:06 +0100 Subject: [PATCH] Push latest before versioned image --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb1d919..2ab812e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -114,6 +114,6 @@ jobs: for image_name in base services-base client-base; do image_repo=ghcr.io/diracgrid/diracx/${image_name} - oras cp --from-oci-layout "$PWD/output-${image_name}:latest" "${image_repo}:${image_version}" - oras cp "${image_repo}:${image_version}" "${image_repo}:latest" + oras cp --from-oci-layout "$PWD/output-${image_name}:latest" "${image_repo}:latest" + oras cp "${image_repo}:latest" "${image_repo}:${image_version}" done