Skip to content

Commit 4d243a2

Browse files
committed
chore(docker): get publishers.*.yml from italia/developers.italia.it
Get the publishers from the repo at italia/developers.italia.it when building the Docker image. italia#298
1 parent e61ca24 commit 4d243a2

File tree

4 files changed

+4
-226
lines changed

4 files changed

+4
-226
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
uses: ibiqlik/[email protected]
2727
with:
2828
# File(s) or Directory, separate by space if multiple files or folder are specified
29-
file_or_dir: publishers*.yml blacklist/*.yml
29+
file_or_dir: blacklist/*.yml
3030
# Return non-zero exit code on warnings as well as errors
3131
strict: true

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ COPY scanner scanner
2525
COPY jekyll jekyll
2626
COPY metrics metrics
2727
COPY version version
28-
COPY publishers.thirdparty.yml publishers.thirdparty.yml
29-
COPY publishers.yml publishers.yml
3028
COPY blacklist blacklist
3129
COPY config.toml.example config.toml
3230
COPY domains.yml.example domains.yml
@@ -38,6 +36,9 @@ COPY start.sh .
3836
COPY vitality-ranges.yml .
3937
COPY wait-for-it.sh .
4038

39+
RUN wget https://raw.githubusercontent.com/italia/developers.italia.it/HEAD/_data/publishers.thirdparty.yml
40+
RUN wget https://raw.githubusercontent.com/italia/developers.italia.it/HEAD/_data/publishers.yml
41+
4142
# Run as unprivileged user
4243
RUN adduser --home ${HOME} --shell /bin/sh --disabled-password ${USER}
4344

publishers.thirdparty.yml

-172
This file was deleted.

publishers.yml

-51
This file was deleted.

0 commit comments

Comments
 (0)