1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

reference by name

This commit is contained in:
Jason N. 2024-02-13 14:10:07 +00:00
parent 6aeeae04d9
commit 5aba62c81c

View file

@ -20,7 +20,7 @@ jobs:
docker_registry: docker_registry:
image: docker.io/library/registry:2 image: docker.io/library/registry:2
ports: ports:
- 8080:5000 - 5000:5000
volumes: volumes:
- registry_cache:/var/lib/registry - registry_cache:/var/lib/registry
permissions: permissions:
@ -44,13 +44,13 @@ jobs:
run: | run: |
cat << EOF >> /etc/containers/registries.conf cat << EOF >> /etc/containers/registries.conf
[[registry]] [[registry]]
location = "localhost:8080" location = "docker_registry:5000"
insecure = true insecure = true
EOF EOF
- name: Download container to cache - name: Download container to cache
run: | run: |
podman pull localhost:8080/ublue-os/base-main:39 podman pull docker_registry:5000/ublue-os/base-main:39
- name: Show downloaded files - name: Show downloaded files
run: | run: |