From 2e2756229e14f802768a3f52f3779d792f180324 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sat, 10 Sep 2022 21:00:44 +0200 Subject: [PATCH] chore(ci): tag image with multiple tags --- .agola/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.agola/config.yml b/.agola/config.yml index d508c5c..f369caa 100644 --- a/.agola/config.yml +++ b/.agola/config.yml @@ -36,6 +36,13 @@ runs: } } EOF - - run: /kaniko/executor --destination code.icb4dc0.de/prskr/blog:$AGOLA_GIT_COMMITSHA --context dir:///root/project/ --dockerfile /root/project/Dockerfile + - run: + name: Build container image + command: | + /kaniko/executor \ + --destination code.icb4dc0.de/prskr/blog:$AGOLA_GIT_COMMITSHA \ + --destination code.icb4dc0.de/prskr/blog:latest \ + --context dir:///root/project/ \ + --dockerfile /root/project/Dockerfile depends: - checkout code