~cofob/matrix-dnsbot

19ac6161eb4c0792c647c937a5d52e57dd38e7d1 — Vasiliy Petrov 2 years ago b62b9f0
Fix docker container
2 files changed, 5 insertions(+), 5 deletions(-)

M .build.yml
M README.md
M .build.yml => .build.yml +4 -4
@@ 8,7 8,7 @@ packages:
  - gcc
  - upx
secrets:
  - 181a05d1-5754-4673-8ee0-f3c9e1be834d
  - 5d6701ac-a882-4683-9533-5aeaef240139
sources:
  - https://git.sr.ht/~cofob/matrix-dnsbot
triggers:


@@ 44,9 44,9 @@ tasks:
      sudo chmod 666 /var/run/docker.sock
      sudo usermod -aG docker ${USER}
      sleep 10
      cat ~/.docker_pass | docker login --username cofob --password-stdin
      cat ~/.docker_pass | docker login ghcr.io --username cofob --password-stdin
  - build-container: |
      cd matrix-dnsbot/
      sudo docker build -t dnsbot . --build-arg bin=dnsbot-upx
      sudo docker tag dnsbot cofob/dnsbot
      sudo docker image push cofob/dnsbot
      sudo docker tag dnsbot ghcr.io/cofob/dnsbot
      sudo docker image push ghcr.io/cofob/dnsbot

M README.md => README.md +1 -1
@@ 20,5 20,5 @@ docker run -d --name dnsbot --restart always \
  -e PASSWORD=p4ssW0rD_ \
  --dns 1.1.1.1 \
  --cpus 0.5 -m 100m \
  cofob/dnsbot
  ghcr.io/cofob/dnsbot
```