Just use the plain docker container
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Raoul Snyman 2023-07-29 11:59:29 -07:00
parent e6a13fa4c9
commit e62641a661

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