trying to build with latest tag
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-08-13 18:42:50 +02:00
parent d4e6b4f550
commit 1e907a7777
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 2 additions and 2 deletions

View File

@ -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/

View File

@ -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"