Another go to fix yaml.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Mark Nellemann 2023-03-03 14:30:27 +01:00
parent b97bac7c30
commit b3896b4dc2

View file

@ -14,12 +14,12 @@ steps:
AUTH_TOKEN: # Gitea access token ENV variable AUTH_TOKEN: # Gitea access token ENV variable
from_secret: auth # Name of DroneCI secret exposed above from_secret: auth # Name of DroneCI secret exposed above
commands: commands:
- sleep 5 - "sleep 5"
- docker ps -a - "docker ps -a"
- docker build -t git.data.coop/${DRONE_REPO_NAME}:${DRONE_TAG} . - "docker build -t git.data.coop/${DRONE_REPO_NAME}:${DRONE_TAG} ."
- docker push git.data.coop/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:${DRONE_TAG} - "docker push git.data.coop/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:${DRONE_TAG}"
- docker tag git.data.coop/${DRONE_REPO_NAME}:${DRONE_TAG} git.data.coop/${DRONE_REPO_NAME}:latest - "docker tag git.data.coop/${DRONE_REPO_NAME}:${DRONE_TAG} git.data.coop/${DRONE_REPO_NAME}:latest"
- docker push git.data.coop/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:latest - "docker push git.data.coop/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:latest"
when: when:
event: event:
- tag - tag