1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
Jun Xiang (カエデ)
46b3d88ae5
docs: Add GH Actions OIDC permission docs (#5137)
## What is this?

Just adding documentation for using cosign with GitHub's OIDC in CI.

## Why?

I spent 4 hours looking through goreleaser and GitHub's docs before I
finally discovered I was missing the `id-token: write` permission in my
workflow file.

This PR serves to just include the `id-token: write` scope in the `CI ->
(GH) actions` section of the docs to hopefully save other devs the
trouble 🤣

### Additional

I also considered adding this to docs for the other CI providers, but I
am not too familiar on the OIDC side of things; might be worth
considering for the team?

Cheers

---

Been using goreleaser for one of my [oss
projects](https://github.com/caffeine-addictt/waku) recently and it's
been great! Just wanted to contribute something back, keep up the great
work! :>

Signed-off-by: AlexNg <contact@ngjx.org>
2024-09-13 13:21:23 -03:00
idebeijer
f924466a81
docs: use "~> v2" in GitHub actions docs (#5067) 2024-08-11 13:39:44 -03:00
Carlos Alexandro Becker
b06a33a392
docs: updates 2024-08-03 15:04:49 -03:00
Carlos Alexandro Becker
700ff34236
docs: improving docs (#4956)
slowly but steadily fixing a billion warnings
2024-07-08 23:30:10 -03:00
Go Sueyoshi
55249e73da
docs: fix deprecation keyword in .gitlab-ci.yml (#4964)
`only` keyword in `.gitlab-ci.yml` is now deprecated.

c.f. https://docs.gitlab.com/ee/ci/yaml/#only--except

So I migrated because GitLab now recommends using `rules:if`

c.f.
https://docs.gitlab.com/ee/ci/jobs/job_rules.html#run-jobs-only-in-specific-pipeline-types
2024-06-29 15:53:32 -03:00
Carlos Alexandro Becker
3a4b363645
docs: update goreleaser-action version 2024-06-05 08:44:41 -03:00
nullswan
b3d6460699
fix(docs): version typo (#4878)
According to
https://github.com/goreleaser/goreleaser-action?tab=readme-ov-file#workflow,
there is a typo `varsion` -> `version`
2024-05-18 19:42:42 -03:00
Carlos Alexandro Becker
2f56643a63
docs: update action docs 2024-05-12 13:47:45 -03:00
Carlos Alexandro Becker
5256f063d0
docs: update github action
refs https://github.com/goreleaser/goreleaser-action/issues/453

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-03-25 09:58:18 -03:00
David Dymko
fd24a00e47
docs: bump setup-go version (#4638)
<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

This commit updates the GitHub Actions GoReleaser example by upgrading
setup-go from version 4 to version 5. Additionally, it includes cleanup
of the tables to address linting issues that flagged them as
"incorrect".

<!-- Why is this change being made? -->

I updated the setup-go version in the GitHub Actions GoReleaser example
because right after I committed the exampled dependabot flagged the old
version as outdated and suggested an update. I figured it'd be simple to
just bump up the version to keep things current.

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

...
2024-02-19 08:43:37 -03:00
Carlos Alexandro Becker
f62e94528f
docs: format 2024-02-01 22:53:16 -03:00
Carlos Alexandro Becker
46c639bc8b
docs: update gitlab docs
closes #4474
2024-02-01 22:52:40 -03:00
Jeffrey Cafferata
75c23abdca
docs: GitHub Actions code example (#4516)
I've changed the GitHub Action workflow code example to be more inline
with the code example on the GitHub repository:

1. https://goreleaser.com/ci/actions/#workflow
2.
https://github.com/goreleaser/goreleaser-action?tab=readme-ov-file#workflow

This is done by four commits for better code/git diff:

1.
7f6d9eefff
Changed the GitHub action workflow from `actions/checkout@v3` to
`actions/checkout@v4`.

Copying from the code example on the GitHub repository
`goreleaser/goreleaser-action`:

1.
effc880f3d
The `name` items
2.
9d7fc2949e
The comments
3.
3118f60fb0
The workflow trigger `on`: `pull_request`
2024-01-04 09:21:15 -03:00
wrench
d2c0e4c6ad
docs: fix typo (#4447) 2023-11-28 11:08:53 -03:00
Carlos Alexandro Becker
fcd5abfe68
docs: update goreleaser-action (#4297)
action v5 was released the other day

---------

Co-authored-by: CrazyMax <github@crazymax.dev>
2023-09-15 09:23:19 -03:00
Carlos Alexandro Becker
d0cf457136
feat: improve verbose output (#4017)
- deprecates `--debug` in favor of `--verbose` which is clearer 
- improved some debug log outputs
- docs: update documentation to always use the `release` subcommand
(when it makes sense)
2023-05-27 00:18:39 -03:00
Carlos Alexandro Becker
cc2805b801
docs: improve wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-30 00:02:38 +00:00
Carlos A Becker
52f45d759f
docs: remove deprecated note about setup-go-action
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 21:51:54 -03:00
Carlos A Becker
b4b6496ea6
build: setup-go update 2023-03-17 16:04:47 -03:00
Carlos Alexandro Becker
dd1315b0a7
fix(GO-2023-1621): update from go 1.20.1 to 1.20.2 (#3854) 2023-03-09 08:24:20 -03:00
Carlos A Becker
6d3eb57c7a
fix: update to go 1.20.1 2023-02-17 10:44:02 -03:00
Carlos Alexandro Becker
81914757da
build: use go1.20 (#3757)
update everything to go 1.20

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-05 13:39:39 -03:00
Carlos A Becker
53fdcd7709
docs: reference --clean instead of --rm-dist everywhere
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-30 23:06:46 -03:00
Carlos A Becker
d6504aaa1d
docs: keep --rm-dist for now
refs #3702

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-21 18:25:37 -03:00
Carlos A Becker
3eb759f039
docs: keep --rm-dist on docs for now
refs #3702
2023-01-21 18:23:50 -03:00
Carlos Alexandro Becker
d18adfb57e
feat: deprecate --rm-dist in favor of new --clean flag (#3702)
After talking with @perylemke, we realized that probably most people
will likely expect it to be called --clean instead of --rm-dist, as its
more similar to the popular `make clean` task.

This adds the --clean flag, and make the --rm-dist one deprecated.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-20 23:47:08 -03:00
Carlos A Becker
17cd672149
build: use go 1.19.5
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-11 09:18:25 -03:00
Carlos A Becker
a3867c8ccb
docs: clarify token files a bit
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-28 10:19:29 -03:00
Carlos Alexandro Becker
cac3f17562
feat(deps): build with go 1.19.4 (#3644)
latest and greatest

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 15:23:40 -03:00
Carlos Alexandro Becker
3cfe215d4c
docs: update github-action documentation (#3640)
Using the new version (v4) everywhere.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:24 -03:00
Marc Miller
311db136d6
docs: update docs to mention gitlab protected vars (#3528)
add warning about gitlab-ci protected variables for both CI/gitlab and
SCM/gitlab.
Failing to run the pipelines on a protected ref will cause goreleaser to
fail with `401: unauthorized` if for example, GITLAB_TOKEN is a
protected variable and the CI Job is running on a tag that is not
protected.

<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

Add a warning about Gitlab CI and protected variables

<!-- Why is this change being made? -->

To prevent future users from running into issues with protected
variables.

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

[Discord
Convo](https://discord.com/channels/890434333251362866/890434334803247126/1038130560293412955)
2022-11-04 16:04:19 -03:00
Carlos Alexandro Becker
7544f7ab96
feat: update to go 1.19.3 (#3523)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-02 14:19:01 -03:00
John Olheiser
1e39e3ce79
docs: add woodpecker ci (#3516)
This PR adds [woodpecker](https://woodpecker-ci.org) to the CI docs.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-10-31 14:45:37 -03:00
Carlos A Becker
1485e6f23f
docs: formatting 2022-10-15 19:33:18 -03:00
Carlos Alexandro Becker
b4159f6377
feat(deps): go 1.19.2 (#3443)
latest security fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-05 21:24:45 -03:00
Carlos A Becker
5058540112
docs: improve actions docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-25 10:46:42 -03:00
Carlos A Becker
39f18943bf
docs: make actions/docker a bit clearer 2022-09-25 10:45:18 -03:00
Carlos A Becker
6aa3f5a724
chore: minor workflows improvements 2022-09-22 16:00:05 -03:00
Carlos Alexandro Becker
c1965923b0
docs: improve wording/formatting in several places (#3384)
this just improves docs wording and formatting in several places.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-17 00:13:09 -03:00
Carlos A Becker
a8403f2a0c
docs: improve actions docs 2022-09-13 23:50:59 -03:00
Carlos A Becker
999cf91af4
docs: improved wording in many places 2022-08-28 16:15:24 -03:00
Carlos A Becker
a7789f1adb
docs: clarify some azure pipelines info 2022-08-16 01:33:27 -03:00
Carlos Alexandro Becker
08e7038a20
feat: remove gofish (#3312)
* feat: remove gofish

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more unused code

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more references

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-16 01:16:45 -03:00
Carlos Alexandro Becker
ee17c9583d
feat(ci): compile with go 1.19 (#3278)
* feat(ci): compile with go 1.19

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fixing template test

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: improve check

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: more test and docs fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fix

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fix

* test: fix

* fix: lint

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: docker templates

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: godoc for RequireTemplateError
2022-08-06 18:44:23 -03:00
Rıza Sabuncu
153226a560
docs: update wrong permission key (#3206) 2022-06-26 21:58:59 -03:00
Carlos A Becker
e8f3f012db
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:41:58 -03:00
Carlos A Becker
5713eec15f
docs: clarify action does not install other tools
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-14 15:26:20 -03:00
Randy Fay
176336f264
docs: miscellaneous usage and wording improvements (#3152)
* Make sure to do required go mod init before continuing or goreleaser command fails.

* how the release might look like -> what the release might look like

* How does it look like -> What does it look like

* you must therefore -> you must

* Don't use GO111MODULES in example since it's so obsolete

* modules -> verifiable builds

* got you covered -> has you covered
2022-06-10 23:04:16 -03:00
Carlos Alexandro Becker
97db97df87
feat: new install anf run script (#3075)
* feat: new install anf run script

- move away from deprecated git.io
- support distribution
- verify checksums and signature

closes #3074

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: rename script

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:11:04 -03:00
Andreas Deininger
38bc6b504e
docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00