From 749617c3f95681f2267edb2f04c16c943c98db0d Mon Sep 17 00:00:00 2001 From: 97WaterPolo Date: Mon, 21 Aug 2023 15:35:05 -0700 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.drone.yml b/.drone.yml index 0869f0c..33fd927 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,16 @@ steps: - ls /drone/src/AOC2021.Test/bin/Debug/net5.0/ - dotnet test AOC2021.Test --logger "console;verbosity=detailed" +- name: docker-tag-demo + image: debian:stable-slim + commands: + - echo "The current branch is ${DRONE_BRANCH}" + - echo "The current commit hash is ${DRONE_COMMIT_SHA}" + - echo "The image tag is ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}" + - echo "The url is $REGISTRY_URL" + - echo "The url is ${REGISTRY_URL}" + - echo "The url is $${REGISTRY_URL}" + - name: build-aoc-2021-2 image: plugins/docker settings: