From a404e5f68f08eab638d3e501d5dcd8e2a31d7e65 Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Tue, 13 Dec 2022 18:37:28 -0500 Subject: [PATCH] added publishing to docker hub from pipeline --- .builds/arch.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.builds/arch.yml b/.builds/arch.yml index c0930a0..a172ca8 100644 --- a/.builds/arch.yml +++ b/.builds/arch.yml @@ -4,9 +4,16 @@ packages: - docker sources: - https://git.sr.ht/~cloutier/bird.makeup +secrets: + - d9970e85-5aef-4cfd-b6ed-0ccf1be5308b tasks: - test: | sudo systemctl start docker sudo docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=birdsitelive -e POSTGRES_USER=birdsitelive -e POSTGRES_DB=birdsitelive postgres:9 cd bird.makeup/src dotnet test + + - publish: | + cd bird.makeup + docker build . -t cloutier/bird.makeup:latest + docker push cloutier/bird.makeup:latest