Compare commits

..

No commits in common. "e90bfb65b715d311d7f1bf8144290264da6d3359" and "e6a13fa4c929e41bb5fade9719b22d520c453a99" have entirely different histories.

View File

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