steps: build-and-push-docker-image: when: event: [push, tag] image: docker secrets: [ forgejo_token ] volumes: - /var/run/docker.sock:/var/run/docker.sock commands: - 'docker login -u ${CI_REPO_OWNER} --password $${FORGEJO_TOKEN} git.spacegirl.nl' - 'docker build -t git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG} .' - 'docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}'