steps: build: image: plugins/kaniko settings: repo: ${FORGE_NAME}/${CI_REPO} registry: from_secret: container_registry tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG} username: from_secret: container_registry_username password: from_secret: container_registry_password dockerfile: Dockerfile when: - event: [push, tag] public_build: image: plugins/kaniko settings: repo: wollud1969/exim-docker registry: docker.io tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG} username: from_secret: docker_hub_username password: from_secret: docker_hub_password dockerfile: Dockerfile when: - event: [tag]