Skip to content

Commit d5f2a5f

Browse files
committed
chore: rename artifacts
just host-bgp, no container suffix Signed-off-by: Emanuele Di Pascale <[email protected]>
1 parent cf7d897 commit d5f2a5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

justfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ default:
1010
all: build && version
1111

1212
oci_repo := "127.0.0.1:30000"
13-
oci_prefix := "githedgehog/host-bgp-container"
13+
oci_prefix := "githedgehog/host-bgp"
1414
oci_fabricator_prefix := "githedgehog/fabricator"
1515

1616
# Build all artifacts
1717
build:
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
2121
push: _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

0 commit comments

Comments
 (0)