...
 
Commits (4)
image: docker:stable
services:
- docker:dind
stages:
- build
# - test
- release
variables:
RELEASE_TAG: dreamshell
TEST_IMAGE: hub.nold.in/$CI_PROJECT_PATH:$CI_BUILD_REF
RELEASE_IMAGE: hub.nold.in/$CI_PROJECT_PATH:$RELEASE_TAG
DOCKER_DRIVER: overlay
before_script:
- docker info
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN hub.nold.in
build:
stage: build
script:
- docker build -t $TEST_IMAGE .
- docker push $TEST_IMAGE
#test:
# stage: test
# script:
# - docker run --rm $TEST_IMAGE /test.sh
release:
stage: release
script:
- docker pull $TEST_IMAGE
- docker tag $TEST_IMAGE $RELEASE_IMAGE
- docker push $RELEASE_IMAGE
########################################################################
# Dockerfile to build minimal KallistiOS Toolchain
########################################################################
FROM nold360/kallistios-sdk:minimal
FROM hub.nold.in/nold/kallistios-sdk:minimal
RUN apt-get update && apt-get install -y autoconf && apt-get clean
RUN git clone --depth=1 https://github.com/nold360/DreamShell /opt/toolchains/dc/kos/ds
......