1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-06-23 00:40:06 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
c63a57eaa0 fix: do not set default builds
closes https://github.com/goreleaser/goreleaser/issues/1294

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 09:38:14 -03:00
6edf6698cb feat: docker builds filter (#1275)
* feat: docker builds filter

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

* docs: docker builds filter

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

* test: fixed

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 11:55:03 -03:00
423308443c fix: reject docker.files as . or inside dist (#1175)
* fix: reject docker.files as . or inside dist

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

* fix: deprecated method

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:09:51 -03:00
792b883f59 fix: docker: skip push skips other builds (#1177)
* fix: skip aware semerrgroup

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

* fix: docker: skip push skips other builds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 15:53:38 -03:00
7a2b332554 clean: remove unused code (#1112) 2019-08-13 10:24:17 -03:00
b477ffa095 refactor: pointer to artifact (#1110)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-12 17:44:48 -03:00
516c348f6e clean: remove deprecated docker options (#1098)
* clean: remove deprecated docker options

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

* ci: gocenter is slowwww

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

* clean: remove uneeded test

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

* Revert "ci: gocenter is slowwww"

This reverts commit 7e4b1eb244.
2019-08-02 21:03:54 -03:00
d402fa0878 test: add additional error checking to tests (#996) 2019-03-31 14:10:26 -03:00
9081caba5e feat: ability to skip Docker update for pre-releases (#977) (#978) 2019-03-06 13:17:53 -03:00
bc8687b302 fix: docker tests
closes #941
2019-01-26 11:26:34 -02:00
df831077e5 fix: improved semver parsing 2019-01-19 17:33:33 -02:00
a43c653254 test: docker: improve image label checks 2019-01-19 17:33:33 -02:00
ef0bb10863 feat: support templates on docker.binaries 2019-01-17 22:47:14 -02:00
cdfaae9b28 feat: support multiple binaries on docker (#919)
* feat: support multiple binaries on docker

* test: docker: fixed to use binaries

* refactor: several docker pipe improvements

* fix: tag templates

* test: fix defaults test

* fix: breaking: remove .Binary, .Os, .Arch support from docker image_templates

* fix: lint issues
2019-01-11 16:27:39 -02:00
850205abf1 feat: back-reference build artifacts from archive artifact (#908) 2019-01-01 14:40:17 -02:00
e1258d381b test: fix a docker test relying on /tmp 2018-10-30 23:50:55 -03:00
3010023b3a fix: docker: build several tags
avoid needing to call docker tag later
2018-10-25 19:39:39 -03:00
21084567fc refactor: docker push moved to publish 2018-10-20 14:42:46 -03:00
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
5af006f415 refactor: Simplify docker test
Remove unnecessary fields in `TestRunPipe` test cases
2018-10-20 13:15:15 -03:00
64ce2d5bd6 chore: Remove unused function 2018-10-20 13:15:15 -03:00
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
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
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
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
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
39de856eb4 refactor: better package organization 2018-09-12 14:18:01 -03:00