- fix yaml so command is ran in the push step
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
oonyeje 2025-02-23 00:23:24 -05:00
parent a399f4d5ef
commit 0c9b160498

View File

@ -32,6 +32,9 @@ steps:
- docker tag oonyeje-portfolio gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:latest - docker tag oonyeje-portfolio gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:latest
- name: push-image - name: push-image
image: docker/compose:latest image: docker/compose:latest
volumes:
- name: docker_sock
path: /var/run/docker.sock
settings: settings:
compose_file: ./docker-compose.drone.yaml compose_file: ./docker-compose.drone.yaml
push: push:
@ -41,8 +44,8 @@ steps:
from_secret: DOCKER_USERNAME from_secret: DOCKER_USERNAME
password: password:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
commands: commands:
- docker-compose push - docker-compose push
# - name: deploy-staging # - name: deploy-staging
# image: plugins/ansible:latest # image: plugins/ansible:latest