Do something on docker using curl, jq, bash, and git
1.6K
.gitlab-ci.yml
image: dianariyanto/alpine-curl-jq-bash-git:latest
before_script:
- echo "Setup GIT"
- git config --global user.email "${GITLAB_USER_EMAIL}"
- git config --global user.name "${GITLAB_USER_NAME}"
after_script:
- echo "Push to repo"
- git status
- git add .
- git commit -am "GitLab Runner Push"
- git status
- git push https://yourusername:${PERSONAL_ACCESS_TOKEN}@gitlab.com/yourusername/your-repo.git HEAD:master
do_something:
stage: build
script:
- echo "Do your build here"
- ls -l
- cat > test.txt
- ls -l
Content type
Image
Digest
Size
12.5 MB
Last updated
almost 6 years ago
docker pull dianariyanto/alpine-curl-jq-bash-git