updating repo reference and optimizing build steps
This commit is contained in:
parent
aca659fc8d
commit
ead25bb437
|
@ -18,4 +18,13 @@ steps:
|
|||
- docker login -u $${REGISTRY_USER} -p $${REGISTRY_PASSWORD} git.nixc.us
|
||||
- docker compose build
|
||||
- docker compose push
|
||||
- docker compose rm -f
|
||||
deploy:
|
||||
name: deploy
|
||||
image: docker:latest
|
||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- docker login -u $${REGISTRY_USER} -p $${REGISTRY_PASSWORD} git.nixc.us
|
||||
- docker stack deploy --with-registry-auth -c ./top.yml top
|
|
@ -5,4 +5,4 @@ services:
|
|||
build:
|
||||
context: . # assuming Dockerfile is in the current directory
|
||||
dockerfile: Dockerfile
|
||||
image: codeberg.org/dowerent/ubuntu-webtop:latest
|
||||
image: codeberg.org/dowerent/top:latest
|
||||
|
|
Loading…
Reference in New Issue