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

Enable push to Dockerhub

parent 6b948c6f
No related branches found
No related tags found
No related merge requests found
......@@ -48,12 +48,12 @@ test:
- docker build --network host --tag $CI_REGISTRY_IMAGE:arm .
- docker push $CI_REGISTRY_IMAGE:arm
#publish:
# 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
# - docker system prune --all --force
\ No newline at end of file
publish:
stage: publish
tags:
- shell
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker build --network host --tag $DOCKER_USER/$DOCKER_REPO2:arm .
- docker push $DOCKER_USER/$DOCKER_REPO2:arm
- docker system prune --all --force
\ 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