Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flux2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
fluxcd
flux2
Commits
224e808c
Unverified
Commit
224e808c
authored
2 years ago
by
Stefan Prodan
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #4018 from fluxcd/fix-push-aws-doc
docs: Fix the `flux push` example for ECR
parents
99b940f5
6ed6b937
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/flux/push_artifact.go
+2
-2
2 additions, 2 deletions
cmd/flux/push_artifact.go
with
2 additions
and
2 deletions
cmd/flux/push_artifact.go
+
2
−
2
View file @
224e808c
...
...
@@ -36,7 +36,7 @@ import (
"github.com/fluxcd/pkg/oci"
"github.com/fluxcd/pkg/oci/auth/login"
client
"github.com/fluxcd/pkg/oci/client"
"github.com/fluxcd/pkg/oci/client"
sourcev1
"github.com/fluxcd/source-controller/api/v1beta2"
"github.com/fluxcd/flux2/v2/internal/flags"
...
...
@@ -89,7 +89,7 @@ The command can read the credentials from '~/.docker/config.json' but they can a
# Login directly to the registry provider
# You might need to export the following variable if you use local config files for AWS:
# export AWS_SDK_LOAD_CONFIG=1
flux push artifact oci://<account>.dkr.ecr.<region>.amazonaws.com/
foo:v1
:$(git tag --points-at HEAD) \
flux push artifact oci://<account>.dkr.ecr.<region>.amazonaws.com/
app-config
:$(git tag --points-at HEAD) \
--path="./path/to/local/manifests" \
--source="$(git config --get remote.origin.url)" \
--revision="$(git tag --points-at HEAD)@sha1:$(git rev-parse HEAD)" \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment