Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/registry-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ jobs:
# Upload each rock to the container registry
args=("manifest" "create" "${ORG_NAME}/${IMAGE}:${VERSION}-edge")
for rock in *.rock; do
echo "Create container from ${rock}"
rockcraft.skopeo --insecure-policy copy oci-archive:${rock} "docker-daemon:${ORG_NAME}/${IMAGE}:${rock}"
args+=(--amend "${ORG_NAME}/${IMAGE}:${rock}")
done
# Create and upload a multi-arch manifest
docker "${args[@]}"
echo "create multi-arch container with args: ${args[@]}"
sudo docker "${args[@]}"
# Push to Docker Hub
# docker tag ${ORG_NAME}/${IMAGE}:${VERSION}-edge ${USERNAME}:${VERSION}-edge
# docker push ${USERNAME}/${IMAGE}:${VERSION}-edge
Expand Down
Loading