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

Commit

Permalink
Add login to dockerhub
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Avramenko <[email protected]>
  • Loading branch information
oavramenk committed Jul 22, 2022
1 parent b2c878d commit 64fb0a5
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 64fb0a5

Please sign in to comment.