Check Docker Build
This commit is contained in:
parent
0939dfb70b
commit
1ef5512561
1 changed files with 9 additions and 10 deletions
19
.drone.yml
19
.drone.yml
|
@ -43,16 +43,15 @@ steps:
|
|||
- docker context create build
|
||||
- docker buildx create build --use
|
||||
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch
|
||||
- |
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--no-cache \
|
||||
--build-arg CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH \
|
||||
--build-arg CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA \
|
||||
--build-arg CI_COMMIT_TAG=latest \
|
||||
--push \
|
||||
--tag gitea.hackmi.ch/Phil/goshorly:latest \
|
||||
.
|
||||
- docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--no-cache \
|
||||
--build-arg CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH \
|
||||
--build-arg CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA \
|
||||
--build-arg CI_COMMIT_TAG=latest \
|
||||
--push \
|
||||
--tag gitea.hackmi.ch/Phil/goshorly:latest \
|
||||
.
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
|
|
Loading…
Reference in a new issue