Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1821 from advancedtelematic/feat/login-dockerhub
Browse files Browse the repository at this point in the history
Add login to dockerhub
  • Loading branch information
oavramenk authored Jul 22, 2022
2 parents b2c878d + 64fb0a5 commit 9d74b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/gitlab/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Docker Setup:
services:
- docker:18-dind
before_script:
- docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
script:
# main images
Expand Down Expand Up @@ -362,6 +363,7 @@ app-docker-image:
needs: []
allow_failure: true
before_script:
- docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
script:
- cp ./docker/Dockerfile.aktualizr ./ci/gitlab/Dockerfile
Expand Down

0 comments on commit 9d74b52

Please sign in to comment.