This commit is contained in:
Viktor Nagy 2026-01-31 16:54:04 +00:00 committed by GitHub
commit 6e5315799e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,6 +98,13 @@ The command can read the credentials from '~/.docker/config.json' but they can a
--source="$(git config --get remote.origin.url)" \
--revision="$(git tag --points-at HEAD)@sha1:$(git rev-parse HEAD)" \
--creds flux:$DOCKER_PAT
# Push manifests to a registry with a self-signed cert
export SSL_CERT_FILE=/path/to/your/certificate.crt
flux push artifact oci://ghcr.io/org/config/app:$(git rev-parse --short HEAD) \
--path="./path/to/local/manifests" \
--source="$(git config --get remote.origin.url)" \
--revision="$(git branch --show-current)@sha1:$(git rev-parse HEAD)"
`,
RunE: pushArtifactCmdRun,
}