removed relicts from old buildchain
This commit is contained in:
parent
9e9ca9b5a3
commit
f760a1bf07
@ -1,23 +0,0 @@
|
|||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: golang:1.6.4
|
|
||||||
steps:
|
|
||||||
- setup_remote_docker
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Install Docker client
|
|
||||||
command: |
|
|
||||||
set -x
|
|
||||||
VER="17.03.0-ce"
|
|
||||||
curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz
|
|
||||||
tar -xz -C /tmp -f /tmp/docker-$VER.tgz
|
|
||||||
mv /tmp/docker/* /usr/bin
|
|
||||||
|
|
||||||
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
|
||||||
- run: docker build -t hackimpott/site .
|
|
||||||
- run: |
|
|
||||||
docker tag hackimpott/site hackimpott/site:$CIRCLE_SHA1
|
|
||||||
docker push hackimpott/site:$CIRCLE_SHA1
|
|
||||||
docker push hackimpott/site:latest
|
|
@ -1,6 +0,0 @@
|
|||||||
from jekyll/jekyll as builder
|
|
||||||
add . /srv/jekyll
|
|
||||||
run jekyll build --source /srv/jekyll --destination /tmp
|
|
||||||
|
|
||||||
from nginx:alpine
|
|
||||||
copy --from=builder /tmp /usr/share/nginx/html
|
|
Loading…
Reference in New Issue
Block a user