Compare commits
7 Commits
revert-osi
...
feat/proxy
Author | SHA1 | Date | |
---|---|---|---|
beddcd2a80 | |||
cc5e0be668 | |||
edd0d06b93 | |||
cfb1781a69 | |||
7d878a8e8e | |||
b52a90b666 | |||
4a76489a3e |
2
.github/workflows/tags.yaml
vendored
2
.github/workflows/tags.yaml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt-get update && sudo apt install -y libgpgme-dev libassuan-dev libdevmapper-dev
|
- run: sudo apt-get update && sudo apt install -y libgpgme-dev libassuan-dev libdevmapper-dev btrfs-progs libbtrfs-dev
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
@ -4,4 +4,5 @@ ARG REGISTRY_USERNAME
|
|||||||
ARG REGISTRY_PASSWORD
|
ARG REGISTRY_PASSWORD
|
||||||
RUN mkdir -p /certs /auth
|
RUN mkdir -p /certs /auth
|
||||||
RUN htpasswd -Bbn ${REGISTRY_USERNAME} ${REGISTRY_PASSWORD} > /auth/htpasswd
|
RUN htpasswd -Bbn ${REGISTRY_USERNAME} ${REGISTRY_PASSWORD} > /auth/htpasswd
|
||||||
|
ADD config.yml /etc/docker/registry/config.yml
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
22
deploy/registry/config.yml
Normal file
22
deploy/registry/config.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
version: 0.1
|
||||||
|
proxy:
|
||||||
|
remoteurl: https://quay.io/tinkerbell-actions
|
||||||
|
log:
|
||||||
|
accesslog:
|
||||||
|
disabled: true
|
||||||
|
fields:
|
||||||
|
service: registry
|
||||||
|
storage:
|
||||||
|
cache:
|
||||||
|
blobdescriptor: inmemory
|
||||||
|
filesystem:
|
||||||
|
rootdirectory: /var/lib/registry
|
||||||
|
http:
|
||||||
|
addr: :5000
|
||||||
|
headers:
|
||||||
|
X-Content-Type-Options: [nosniff]
|
||||||
|
health:
|
||||||
|
storagedriver:
|
||||||
|
enabled: true
|
||||||
|
interval: 10s
|
||||||
|
threshold: 3
|
Reference in New Issue
Block a user