Just use the plain docker container #9

Merged
raoul merged 1 commits from simplified-docker-build into master 2023-07-29 21:25:28 +00:00
Showing only changes of commit e62641a661 - Show all commits

View File

@ -23,17 +23,14 @@ steps:
when: when:
event: tag event: tag
nightly-image: nightly-image:
image: woodpeckerci/plugin-docker-buildx image: docker
privileged: true commands:
settings: - "docker login git.snyman.info $DOCKER_USERNAME $DOCKER_TOKEN"
dockerfile: Dockerfile.nightly - "docker build -t git.snyman.info/codesmidgen:nightly -t git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8} ."
registry: git.snyman.info - "docker push git.snyman.info/codesmidgen:nightly"
username: $DOCKER_USERNAME - "docker push git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8}"
password: $DOCKER_TOKEN volumes:
repo: git.snyman.info/${CI_REPO_OWNER}/codesmidgen - /var/run/docker.sock:/var/run/docker.sock
tags:
- nightly
- ${CI_COMMIT_SHA:0:8}
secrets: secrets:
- docker_username - docker_username
- docker_token - docker_token
@ -41,17 +38,14 @@ steps:
- branch: master - branch: master
event: push event: push
release-image: release-image:
image: woodpeckerci/plugin-docker-buildx image: docker
privileged: true commands:
settings: - "docker login git.snyman.info $DOCKER_USERNAME $DOCKER_TOKEN"
dockerfile: Dockerfile.release - "docker build -t git.snyman.info/codesmidgen:latest -t git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v} ."
registry: git.snyman.info - "docker push git.snyman.info/codesmidgen:latest"
username: $DOCKER_USERNAME - "docker push git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v}"
password: $DOCKER_TOKEN volumes:
repo: git.snyman.info/${CI_REPO_OWNER}/codesmidgen - /var/run/docker.sock:/var/run/docker.sock
tags:
- latest
- ${CI_COMMIT_TAG##v}
secrets: secrets:
- docker_username - docker_username
- docker_token - docker_token