Compare commits

..

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

View File

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