Another go to fix yaml.
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Mark Nellemann 2023-03-03 14:30:27 +01:00
parent b97bac7c30
commit b3896b4dc2
1 changed files with 6 additions and 6 deletions

View File

@ -14,12 +14,12 @@ steps:
AUTH_TOKEN: # Gitea access token ENV variable
from_secret: auth # Name of DroneCI secret exposed above
commands:
- sleep 5
- docker ps -a
- 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 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
- "sleep 5"
- "docker ps -a"
- "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 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"
when:
event:
- tag