Skip to content

Commit

Permalink
ci: fix to use login-action
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseylin committed Jul 24, 2023
1 parent b4b9c26 commit 7dcfc2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
type=semver,pattern={{version}}
- name: Login to Gitlab registry
if: github.event_name != 'pull_request'
run: docker login -u ${{ secrets.GITLAB_REGISTRY_USERNAME }} -p ${{ secrets.GITLAB_REGISTRY_PASSWORD }} registry.gitlab.inria.fr/cromac/automateddiscoverytool
uses: docker/login-action@v3
with:
registry: registry.gitlab.inria.fr/cromac/automateddiscoverytool
username: ${{ secrets.GITLAB_REGISTRY_USERNAME }}
password: ${{ secrets.GITLAB_REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 7dcfc2d

Please sign in to comment.