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