Skip to content

Commit

Permalink
Merge pull request #384 from paskal/style_fixes
Browse files Browse the repository at this point in the history
Remove unneeded duplicated lines from dockerfiles and readme
  • Loading branch information
umputun authored Oct 13, 2024
2 parents 1bb885d + 891b387 commit d11bcd9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
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

0 comments on commit d11bcd9

Please sign in to comment.