mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-14 18:35:37 +00:00
18 lines
373 B
Bash
Executable File
18 lines
373 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# cd to app root
|
|
CWD=$(dirname $0)
|
|
if [[ `basename $(pwd)` = 'scripts' ]]; then
|
|
cd ../
|
|
else
|
|
cd `dirname $CWD`
|
|
fi
|
|
|
|
echo "Pulling Theme..." && \
|
|
docker pull rancherlabs/website-theme:latest && \
|
|
echo "Building Image..." && \
|
|
docker build -t rancherlabs/website:latest . && \
|
|
echo "Pushing Image..." && \
|
|
docker push rancherlabs/website:latest && \
|
|
echo "OK"
|