File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ default:
1010all : build && version
1111
1212oci_repo := " 127.0.0.1:30000"
13- oci_prefix := " githedgehog/host-bgp-container "
13+ oci_prefix := " githedgehog/host-bgp"
1414oci_fabricator_prefix := " githedgehog/fabricator"
1515
1616# Build all artifacts
1717build :
1818 docker build --platform=linux/ amd64 -t {{ oci_repo}} / {{ oci_prefix}} :{{ version}} -f Dockerfile .
1919
20- # Push all host-bgp-container artifacts
20+ # Push all host-bgp artifacts
2121push : _skopeo _oras build && version
2222 {{ skopeo}} --insecure-policy copy {{ skopeo_copy_flags}} {{ skopeo_dest_insecure}} docker-daemon:{{ oci_repo}} / {{ oci_prefix}} :{{ version}} docker:// {{ oci_repo}} / {{ oci_prefix}} :{{ version}}
2323 docker image rm {{ oci_repo}} / {{ oci_prefix}} :latest || true
2424 docker tag {{ oci_repo}} / {{ oci_prefix}} :{{ version}} {{ oci_repo}} / {{ oci_prefix}} :latest
25- docker save -o host-bgp-container .tar {{ oci_repo}} / {{ oci_prefix}} :latest
26- oras push {{ oras_insecure}} {{ oci_repo}} / {{ oci_fabricator_prefix}} / host-bgp-container :{{ version}} host-bgp-container .tar
25+ docker save -o host-bgp.tar {{ oci_repo}} / {{ oci_prefix}} :latest
26+ oras push {{ oras_insecure}} {{ oci_repo}} / {{ oci_fabricator_prefix}} / host-bgp:{{ version}} host-bgp.tar
You can’t perform that action at this time.
0 commit comments