diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 269cc17..1e6ca69 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -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@v2 + 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: