Kingdon Barrett
536f4c31ce
do not quote token here
...
Adding quotes here, when the variable is empty you get:
curl https://api.github.com/repos/fluxcd/flux2/releases/latest -sL ''
(ref:
https://github.com/kingdonb/bootstrap-repo/actions/runs/3991169408/jobs/6845685491#step:3:31
)
That does curl twice, once for the URL provided and again for the empty
string, which results in curl returning error code 3 "malformed URL"
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2 years ago
Kingdon Barrett
369ae5aa71
Quote tested values in fluxcd/flux GitHub Action
...
Fix an issue with improperly quoted variables created by #3474
Also, curl should fail with an error code if the download results in
404 not found
* + (x3) Update action/action.yml
* for consistent format
Co-authored-by: Steven E. Harris <seh@panix.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2 years ago
Erik Kristensen
8ff8295d0c
fix: update example to use correct output method
...
feat: add ability to auth to github api
docs: add authentication snippet example
docs: update checkout@v3, create-pull-request@v4
docs: add documentation about the github token secret
Review: Add suggested change from last week
(per
https://github.com/fluxcd/flux2/pull/3474#discussion_r1067178730 )
Signed-off-by: Erik Kristensen <erik@erikkristensen.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2 years ago
Stefan Prodan
75a879c770
OCI docs improvements
...
Co-authored-by: Kingdon Barrett <kingdon@weave.works>
Co-authored-by: Sunny <darkowlzz@protonmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
d4c5a137a1
Add examples for pushing artifacts with GH Actions
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Gergely Brautigam
759145704f
Update the action to include an optional bindir
...
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
3 years ago
Stefan Prodan
f52387e849
Add ARM and ARM64 support to flux GitHub Action
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
8043ae961a
Refactor Flux GitHub Action
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
61e1fb770e
Add webhook section to image update docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
7b6f875920
docs: 'like so' -> 'as in the following example'
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Terdunov Vyacheslav
52cec044b8
Fix typo
...
Signed-off-by: Terdunov Vyacheslav <mail2slick@gmail.com>
4 years ago
Stefan Prodan
5d9ccc973d
Move flux binary to GitHub workspace
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
c4da4a81aa
Add note about ignoring flux action binary
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
90f4891ca9
Automate Flux upgrades with GitHub Actions
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
aa8dced7ad
Add GitHub Action for Flux CLI
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago