trying to build with latest tag
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d4e6b4f550
commit
1e907a7777
@ -18,7 +18,7 @@ steps:
|
|||||||
- cat $HOME/.ssh/id_ed25519
|
- cat $HOME/.ssh/id_ed25519
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: kasperhermansen/cuddle-image:latest
|
image: kasperhermansen/cuddle:latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
path: /root/.ssh/
|
path: /root/.ssh/
|
||||||
|
@ -8,7 +8,7 @@ echo "logging in"
|
|||||||
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
||||||
|
|
||||||
echo "building image"
|
echo "building image"
|
||||||
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" .
|
DOCKER_BUILDKIT=1 docker build -t "$tag" -t "latest" -f "$TMP/build_cuddle_image.Dockerfile" .
|
||||||
|
|
||||||
echo "pushing image"
|
echo "pushing image"
|
||||||
docker push "$tag"
|
docker push "$tag"
|
||||||
|
Loading…
Reference in New Issue
Block a user