Commit ccea0c3a authored by AOkoth's avatar AOkoth
Browse files

Update .gitlab-ci.yml

parent 17d24857
Pipeline #1060 passed with stage
in 18 seconds
......@@ -4,6 +4,6 @@ hello:
script:
- gcc -o hello hello.c
- LATEST_COMMIT=$(git rev-parse --short HEAD)
- img login --user $DOCKER_USERNAME --password $DOCKER_PASSWORD
- img login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- img build -t arnoldkyaye/hello:$LATEST_COMMIT .
- img push arnoldkyaye/hello:$LATEST_COMMIT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment