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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
fluxcd
flux2
Commits
44762933
Unverified
Commit
44762933
authored
2 years ago
by
Stefan Prodan
Browse files
Options
Downloads
Patches
Plain Diff
Add `flux tag artifact` command
Signed-off-by:
Stefan Prodan
<
stefan.prodan@gmail.com
>
parent
2912d1d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfcs/kubernetes-oci/README.md
+13
-0
13 additions, 0 deletions
rfcs/kubernetes-oci/README.md
with
13 additions
and
0 deletions
rfcs/kubernetes-oci/README.md
+
13
−
0
View file @
44762933
...
...
@@ -48,6 +48,13 @@ and push the archive to a container registry as an OCI artifact.
flux push artifact docker.io/org/app-config:v1.0.0
-f
./deploy
```
To ease the promotion workflow of a specific version from one environment to another, the CLI
should offer a tagging command.
```
sh
flux tag artifact docker.io/org/app-config:v1.0.0 latest
```
Flux CLI with produce artifacts of type
`application/vnd.oci.image.config.v1+json`
.
The directory pointed to by
`-f`
is archived and compressed in the
`tar+gzip`
format
and the layer media type is set to
`application/vnd.oci.image.layer.v1.tar+gzip`
.
...
...
@@ -216,6 +223,12 @@ Sign the config image with cosign:
cosign sign
--key
cosign.key ghcr.io/org/my-app-config:v1.0.0
```
Mark v1.0.0 as latest:
```
sh
flux tag artifact ghcr.io/org/my-app-config:v1.0.0 latest
```
#### Story 2
> As a developer I want to deploy my app using Kubernetes manifests published as OCI artifacts to GHCR.
...
...
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