Skip to content
Snippets Groups Projects
Verified Commit 47e9ce11 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

add build/deploy scripts and dockerfile

parent bfe26382
No related branches found
No related tags found
No related merge requests found
/node_modules
/package*
/.git
/.idea
*.sh
*.pug
*.sass
Makefile
FROM nginx:latest
COPY . /usr/share/nginx/html/
#!/bin/sh
IMAGE=k8r.eu/justjanne/quasseldroid-landing
TAGS=$(git describe --always --tags HEAD)
docker build -t $IMAGE:$TAGS .
docker tag $IMAGE:$TAGS $IMAGE:latest
echo Successfully tagged $IMAGE:latest
docker push $IMAGE:$TAGS
docker push $IMAGE:latest
#!/bin/sh
IMAGE=k8r.eu/justjanne/quasseldroid-landing
TAGS=$(git describe --always --tags HEAD)
NAMESPACE=quasseldroid
DEPLOYMENT=landing
CONTAINER=landing
kubectl -n $NAMESPACE set image deployment/$DEPLOYMENT $CONTAINER=$IMAGE:$TAGS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment