Fix docker build

This commit is contained in:
Vasiliy Petrov 2022-06-26 18:48:41 +07:00
parent 7878782635
commit 5c0ddb7899
No known key found for this signature in database
GPG key ID: ACAD4265E193794D

View file

@ -8,7 +8,7 @@ packages:
- gcc - gcc
- upx - upx
secrets: secrets:
- c5732b50-ac7d-4e02-a80c-37c448a3db89 - 5d6701ac-a882-4683-9533-5aeaef240139
sources: sources:
- https://git.sr.ht/~cofob/matrix-dnsbot - https://git.sr.ht/~cofob/matrix-dnsbot
triggers: triggers:
@ -48,5 +48,6 @@ tasks:
- build-container: | - build-container: |
cd matrix-dnsbot/ cd matrix-dnsbot/
sudo docker build -t dnsbot . --build-arg bin=dnsbot-upx sudo docker build -t dnsbot . --build-arg bin=dnsbot-upx
sudo docker tag dnsbot ghcr.io/cofob/dnsbot - publish-container: |
sudo docker image push ghcr.io/cofob/dnsbot docker tag dnsbot ghcr.io/cofob/dnsbot
docker image push ghcr.io/cofob/dnsbot