fixed cmd
This commit is contained in:
parent
22eefee739
commit
32642a25de
1 changed files with 8 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -40,14 +40,14 @@ steps:
|
||||||
- docker context create build
|
- docker context create build
|
||||||
- docker buildx create build --use
|
- docker buildx create build --use
|
||||||
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch
|
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch
|
||||||
- docker buildx build \
|
- docker buildx build
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64
|
||||||
--no-cache \
|
--no-cache
|
||||||
--build-arg CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH \
|
--build-arg CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH
|
||||||
--build-arg CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA \
|
--build-arg CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA
|
||||||
--build-arg CI_COMMIT_TAG=latest \
|
--build-arg CI_COMMIT_TAG=latest
|
||||||
--push \
|
--push
|
||||||
--tag gitea.hackmi.ch/Phil/goshorly:latest \
|
--tag gitea.hackmi.ch/Phil/goshorly:latest
|
||||||
.
|
.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
Loading…
Reference in a new issue