1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
Commit Graph

230 Commits

Author SHA1 Message Date
Jonathan Lloyd
254a1cfab8 fix: Bring back docker release notes
Docker image names were not being added to the release notes
because the Github release step was happening earlier in the
pipeline than the docker release itself (so no artifacts had
been added to the context). This patch re-orders the pipeline
and adds a comment to warn against this happening again.

Fixes: #846
2018-10-25 10:13:33 -03:00
Carlos Alexandro Becker
84fdac7f2b
chore: improved log 2018-10-20 17:54:41 -03:00
Carlos Alexandro Becker
75c999ac73
chore: added a TODO 2018-10-20 17:47:55 -03:00
Carlos Alexandro Becker
f7268a0979
fix: deploy goreleases to snap store 2018-10-20 17:41:31 -03:00
Carlos Alexandro Becker
32d9440dff test: added more tests 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
6310b8c12d fix: lint 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
3d87275c09 fix: allow to publish snaps 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
04ee42caed feat: publish snaps 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
fac4b621b0 feat: publish snaps 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
24c6401341 test: skip publish 2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
76b18fb554 chore: fix log 2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
21084567fc refactor: docker push moved to publish 2018-10-20 14:42:46 -03:00
Albert Salim
b8d0f29099 chore: go fmt 2018-10-20 13:15:15 -03:00
Albert Salim
b688e1f28c feat: Add support image templates with backward compatibility
Docker pipe supports either image templates or image with tag templates.
Image template must be configured, no default is provided.
If image name is still used, provide default for tag templates,
for backward compatibility.
2018-10-20 13:15:15 -03:00
Albert Salim
5af006f415 refactor: Simplify docker test
Remove unnecessary fields in `TestRunPipe` test cases
2018-10-20 13:15:15 -03:00
Albert Salim
64ce2d5bd6 chore: Remove unused function 2018-10-20 13:15:15 -03:00
Albert Salim
ae2e6ddc0e feat: Add support image templates
Docker config takes a list of image templates as image specification.
Existing config with image and tag templates are still accepted,
but will display deprecation notice.

Either image templates or image + tag templates is supported,
but not both at the same time.

This will also support publishing to multiple docker registries (#832).

Deprecated:
- `docker.image`
- `docker.tag_templates`
2018-10-20 13:15:15 -03:00
Albert Salim
ca2aafa367 feat: Add support for publishing to additional docker registries
Created a list of registries based on the docker image name and
additional registries. Image is then tagged with all permutations
of registry and tags.

See #832
2018-10-20 13:15:15 -03:00
Carlos Alexandro Becker
2bade44c73 refactor: artifactory: pipe -> publisher 2018-10-16 23:01:52 -03:00
Carlos Alexandro Becker
ad11351902 refactor: fix tests 2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
089731afc4 refactor: (s3/http): pipe -> publisher 2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
0b04e454fc test: fix 2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
dd81fec3dd refactor: release: pipe -> publisher 2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
6d6d6ece8f test: add more tests 2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
23eb2c7756 fix: publish skip handling 2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
c449328428 fix: improved publish output 2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
5474d1ede7 wip: publish 2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
71aba28e18 chore: more logs 2018-10-10 13:27:53 -03:00
Carlos Alexandro Becker
9628eb8f89 chore: improved log output 2018-10-10 13:27:53 -03:00
Alan Scherger
6c79a6c51a fix: be explicit when we query git for tags
When Jenkins is configured with 'Check out to matching local branch' the branch and tag name will conflict.
If we use explicit references to tags, then life is much better.

This patch also replaces our manual 'tag or not' boolean with a regex to check if the return is a SHA1.
If it is not a SHA1, it is assumed to be a tag. Hopefully this helps with future maintainability.
2018-10-06 22:21:46 -03:00
Alan Scherger
f6a7fb308c feat: image names can ontain template variables
This now allows us to use things like the ProjectName as variables
in our docker image name. This is especially helpful when trying to
make the `.goreleaser.yml` as generic as possible.
2018-10-05 13:43:19 -03:00
Carlos Alexandro Becker
ba77abe07c chore: make output less verbose 2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
6a035b83e9 chore: make output less verbose 2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
3c72ad1081 chore: make output less verbose 2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71171ba222 chore: make output less verbose 2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71df84f829 refactor: added publish pipe 2018-10-05 09:42:32 -03:00
Carlos Alexandro Becker
5c63f88290 test: add more tests 2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
748d97ef22 feat: git remote url in the template engine 2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
af99acf244 feat: add new template fields 2018-10-04 09:23:06 -03:00
Albert Salim
94f88bac84 feat: Add templating support for docker build-flags
I enhanced `BuildFlagTemplates` field in Docker image config to accept
templates. Build flags are tested by checking for images created with
labels applied through templates.

See #813
2018-10-03 10:51:01 -03:00
Albert Salim
c773e57165 feat: Add support for docker build-flags
I added `BuildFlags` field to Docker image config. Docker pipe is
updated to append build flags to the `docker build` command.
Build flags are not validated, leaving it Docker to error
when given an unknown flag.

See #813
2018-10-03 10:51:01 -03:00
Carlos Alexandro Becker
652645b3bf
feat: artifactory checksum header (#772)
* feat: artifactory checksum header

* fix: merge fixes
2018-10-01 16:52:16 -03:00
Carlos Alexandro Becker
aded99f621
feat: scoop: accept name/project name (#811)
* feat: scoop: accept name/project name

* fix: added todo to fix an issue
2018-09-30 11:04:32 -03:00
Carlos Alexandro Becker
0ebf43a0fd
chore: go fmt 2018-09-19 13:52:23 -03:00
He Liu
281632fe6c fix: github.com/Masterminds/semver import path (#808)
* fix import path casing in Mastermind/semver

* fix import path in Gopkg.lock
2018-09-19 13:51:52 -03:00
Carlos Alexandro Becker
4206de324e
fix: added more logs 2018-09-18 10:14:30 -03:00
Carlos Alexandro Becker
817f0a7a13 fix: remove go generate 2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
a6965e6272 fix: remove dep on stringer 2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
c3a6c3f40d chore: add debug to http put
refs ##790
2018-09-13 22:03:51 -03:00
Carlos Alexandro Becker
ac3dabbe4c
Merge branch 'master' into organizing 2018-09-13 21:38:09 -03:00