Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Merge pull request #30 from Jzow/master #2

Merge pull request #30 from Jzow/master

Merge pull request #30 from Jzow/master #2

Workflow file for this run

variables:
VERSION: 0.0.22
REPO: docker.io
stages:
- info
- build
- publish
info-job:
stage: info
script:
- echo "Start build version $VERSION"
- export VERSION=$VERSION
- export DOCKER_USERNAME=$DOCKER_USERNAME
- export DOCKER_PASSWORD=$DOCKER_PASSWORD
- export REPO=$REPO
build-job:
stage: build
script:
- echo "Compiling the code and build docker image..."
- make docker
- echo "Compile complete."
deploy-job:
stage: publish
environment: production
script:
- echo "Publish docker images..."
- make publish-docker
- echo "Docker images successfully published."