1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Upgrade fluxcd/pkg packages

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta
2025-05-17 20:19:45 +01:00
parent ad9d63ac52
commit 0951061b5e
10 changed files with 103 additions and 116 deletions

View File

@@ -19,6 +19,7 @@ package main
import (
"context"
"encoding/json"
"errors"
"fmt"
"os"
"strings"
@@ -230,6 +231,9 @@ func pushArtifactCmdRun(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("error during login with provider: %w", err)
}
if authenticator == nil {
return errors.New("unsupported provider")
}
opts = append(opts, crane.WithAuth(authenticator))
}