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

1863 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
846e26f48b test: disable colors on tests 2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
0dbce75983 test: disable colors on tests 2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
9b0a75d24d test: disable colors on tests 2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
7856c691cc fix: CI is not Travis 2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
4f36070338 fix: colored output on travis 2018-10-27 13:34:16 -03:00
Jean-Philippe Ouellet
19ccf2f9d4 bump: go-homedir to stable version
github.com/mitchellh/go-homedir has a stable release version now. Using
master causes dep to be unable to solve for a suitable version when
goreleaser is depended on in other projects which also (transiently)
depend on the released version. This fixes that, and brings API
stability guarantees.
2018-10-26 18:06:50 -03:00
Carlos Alexandro Becker
bfe9881946 bump: deps 2018-10-26 11:54:21 -03:00
Carlos Alexandro Becker
6f312b993b chore: move defaulter to pkg, so godownloader can use it 2018-10-26 11:17:12 -03:00
Carlos Alexandro Becker
3010023b3a fix: docker: build several tags
avoid needing to call docker tag later
2018-10-25 19:39:39 -03:00
Carlos Alexandro Becker
9500155274
fix: only decrypt on tags 2018-10-25 10:14:19 -03:00
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
2f940d09c7
docs: suggest snap install goreleaser 2018-10-20 17:55:50 -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
fbdbff884b
chore: makefile and brew on osx
also removed bandep and other now unused things.

closes #823
2018-10-20 17:37:58 -03:00
Carlos Alexandro Becker
516c01050c docs: snapcraft publish 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
32d9440dff test: added more tests 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
a9bae8d5d3 chore: push snap packages 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
94183d4f49 docs: how to push snap packages 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
8cd15a3404 doc: Update doc for image templates
Updated docker documentation to use `image_templates`.
Added documentation on publishing to multiple registries
using `image_templates`
Added deprecation notices on `docker.image` and `docker.tag_templates`
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
db70569c3d
docs: dry run
closes #839
2018-10-17 00:41:40 -03:00
Carlos Alexandro Becker
748869c83b
fix: example indentation 2018-10-16 23:09:37 -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
441e5e551f
docs: docker: improved notes about templates 2018-10-12 00:08:39 -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