- add tag pull script step
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oonyeje 2025-02-26 11:48:49 -05:00
parent 61b16d98c0
commit aa01e0d4d6

View File

@ -4,8 +4,14 @@ name: build
steps:
- name: start-compose-container
image: gitea.bsidesolutions.net/bside-solutions/docker-compose-v2-alpine
image: gitea.bsidesolutions.net/bside-solutions/docker-compose-v2-alpine:latest
environment:
REGISTRY_USER:
from_secret: DOCKER_USERNAME
REGISTRY_PASS:
from_secret: DOCKER_PASSWORD
commands:
- docker login gitea.bsidesolutions.net --username $REGISTRY_USER --password $REGISTRY_PASS
- docker run -d --name compose-container gitea.bsidesolutions.net/bside-solutions/docker-compose-v2-alpine #start container in detached mode
- sleep 5 # give container some time to fully start
volumes: