Skip to content

Commit

Permalink
[GHA] Default registry to dockerhub (#26448)
Browse files Browse the repository at this point in the history
Makes local image building easier

### Tickets:
 - 149907
  • Loading branch information
akladiev authored Sep 5, 2024
1 parent 9969f9f commit 22079ca
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/actions/handle_docker/images_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def build(self, dry: bool = False, push: bool = True, docker_builder: str = None
cmd = f"{build_cmd} " \
f"--file {self.dockerfile} " \
f"--tag {self.ref()} " \
f"--build-arg REGISTRY={self.registry}/dockerio " \
f"{cache_cmd} " \
f"{push_cmd} " \
"."
Expand Down
2 changes: 1 addition & 1 deletion .github/dockerfiles/docker_tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pr-26086
pr-26448
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/debian_10_arm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerio/library/debian:10.13
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/debian:10.13

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/fedora_33/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerio/library/fedora:33
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/fedora:33

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_20_04_arm64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:20.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:20.04

USER root

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu20.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/nvidia/cuda:11.8.0-runtime-ubuntu20.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_22_04_android/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_22_04_x64_cc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/nvidia/cuda:11.8.0-runtime-ubuntu22.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:24.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_build/webassembly/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerio/emscripten/emsdk:3.1.61
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/emscripten/emsdk:3.1.61

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_test/ubuntu_20_04_arm64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:20.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_test/ubuntu_20_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:20.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_test/ubuntu_22_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:22.04

USER root

Expand Down
3 changes: 2 additions & 1 deletion .github/dockerfiles/ov_test/ubuntu_24_04_x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04
ARG REGISTRY="docker.io"
FROM ${REGISTRY}/library/ubuntu:24.04

USER root

Expand Down

0 comments on commit 22079ca

Please sign in to comment.