Another go to fix yaml.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
b97bac7c30
commit
b3896b4dc2
12
.drone.yml
12
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue