Skip to content

Commit

Permalink
Push latest before versioned image
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Nov 25, 2023
1 parent 5471977 commit 09f4c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 09f4c26

Please sign in to comment.