From 0c9b16049874acdde92cc09b44d602c39222ac2f Mon Sep 17 00:00:00 2001 From: oonyeje Date: Sun, 23 Feb 2025 00:23:24 -0500 Subject: [PATCH] - fix yaml so command is ran in the push step --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc346e9..aaf07c3 100755 --- a/.drone.yml +++ b/.drone.yml @@ -32,6 +32,9 @@ steps: - docker tag oonyeje-portfolio gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:latest - name: push-image image: docker/compose:latest + volumes: + - name: docker_sock + path: /var/run/docker.sock settings: compose_file: ./docker-compose.drone.yaml push: @@ -41,8 +44,8 @@ steps: from_secret: DOCKER_USERNAME password: from_secret: DOCKER_PASSWORD - commands: - - docker-compose push + commands: + - docker-compose push # - name: deploy-staging # image: plugins/ansible:latest