mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 23:51:48 +00:00
Merge adb3672246 into 8362c88791
This commit is contained in:
commit
7b3db73089
1 changed files with 7 additions and 0 deletions
|
|
@ -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)" \
|
--source="$(git config --get remote.origin.url)" \
|
||||||
--revision="$(git tag --points-at HEAD)@sha1:$(git rev-parse HEAD)" \
|
--revision="$(git tag --points-at HEAD)@sha1:$(git rev-parse HEAD)" \
|
||||||
--creds flux:$DOCKER_PAT
|
--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,
|
RunE: pushArtifactCmdRun,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue