Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded duplicated lines from dockerfiles and readme #384

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ RUN cd /build && go build -o /build/bin/rss_generator -ldflags "-s -w" && ls -la

FROM alpine:3.19

# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

# enables automatic changelog generation by tools like Dependabot
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Радио-Т hugo, скрипты для создания и доставки

## генерация сайта

```bash
docker-compose build hugo
docker-compose run --rm hugo
Expand All @@ -17,7 +18,6 @@ docker-compose run --rm hugo
- `make upload-mp3 EPISODE=685` - добавляет mp3 теги и картинку в файл эпизода подкаста, после чего разносит его по нодам через внешний ansible контейнер. Для выполнения необходимо подключить в docker-compose конфиге директорию с mp3 файлами подкаста как volume в сервис publisher
- `make deploy` — добавляет в гит и запускает push + build на мастер. После этого строит лог чата и очищает темы


## переменные окружения

- `RT_NEWS_ADMIN` user:passwd для news
Expand Down
1 change: 0 additions & 1 deletion publisher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ ARG GIT_BRANCH
ARG GITHUB_SHA
ARG CI
ARG REV
ENV GOFLAGS="-mod=vendor"

ADD . /build

Expand Down
1 change: 0 additions & 1 deletion rss_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
- для определения длины подкаста использует берет content-length из ответа сервера на HEAD запрос к mp3 файлу подкаста
- для определения даты публикации подкаста использует дату из метаданных поста


```
Usage:
rss_generator [OPTIONS]
Expand Down
3 changes: 0 additions & 3 deletions updater/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM alpine:3.19

# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

# enables automatic changelog generation by tools like Dependabot
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

Expand Down