Skip to content
Snippets Groups Projects
Commit 202c532d authored by Griefed's avatar Griefed :joystick:
Browse files

Not needed as no armv7 version possible

parent 450fd04d
No related branches found
No related tags found
No related merge requests found
# https://github.com/jonashackt/gitlab-ci-stack#configure-gitlab-runner-with-shell-executor
# https://github.com/jonashackt/gitlab-ci-shell-example
stages:
- readme
- test
- publish
before_script:
- docker info
- ls -ahl && ls -ahl *
readme:
stage: readme
tags:
- shell
script:
- source .gitlab/.readme_variables
- echo ""
- echo ""
- echo $LOGO_IMAGE_LINK
- echo $GITHUB_REPONAME
- echo $GITHUB_USERNAME
- echo $DOCKERHUB_REPONAME
- echo $DOCKERHUB_TAG
- echo $DOCKERHUB_USERNAME
- echo $DESCRIPTION
- echo $CREATOR_USERNAME
- echo $CREATOR_REPONAME
- echo $EXAMPLE_SITE_LINK
- echo $EXAMPLE_IMAGE_LINK
- echo $CONTAINER_PORT
- echo $CONTAINER_PORT2
- echo $BASE_IMAGE
- echo ""
- echo ""
- envsubst < .gitlab/readme_template | less
- mkdir -p /home/gitlab-runner/READMEs/$CI_PROJECT_NAME
- envsubst < .gitlab/readme_template > /home/gitlab-runner/READMEs/$CI_PROJECT_NAME/README.md
- echo ""
test_1:
stage: test
tags:
- shell
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --network host --tag $CI_REGISTRY_IMAGE:arm .
- docker push $CI_REGISTRY_IMAGE:arm
publish_1:
stage: publish
tags:
- shell
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker build --network host --tag $DOCKER_USER/$DOCKER_REPO:arm .
- docker push $DOCKER_USER/$DOCKER_REPO:arm
\ No newline at end of file
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