diff --git a/.drone.yml b/.drone.yml index 4eb4a51..3d9dfb1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,6 +28,10 @@ steps: - echo "The url is $REGISTRY_URL" - echo "The url is ${REGISTRY_URL}" - echo "The url is $${REGISTRY_URL}" + - export REPO_URL=$${REGISTRY_URL}/97waterpolo/aoc-2021-2-0821 + - echo "The repo url is $REPO_URL" + - echo "The repo url is ${REPO_URL}" + - echo "The repo url is $${REPO_URL}" - name: build-aoc-2021-2 image: plugins/docker @@ -40,12 +44,14 @@ steps: registry: from_secret: gitea_registry_url #repo: 192.168.68.63:3000/97waterpolo/aoc-2021-2-0821 - repo: $${REGISTRY_URL}/97waterpolo/aoc-2021-2-0821 + repo: $${REPO_URL}/97waterpolo/aoc-2021-2-0821 dockerfile: AOC2021/Dockerfile insecure: true environment: REGISTRY_URL: from_secret: gitea_registry_url + depends_on: + - docker-tag-demo - name: build-aoc-2021 image: plugins/docker