1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/internal
Boshi Lian 65544aeec0
fix: docker respects builds binary file paths (#4218)
<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

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

-->

`docker` packaging does not honor the path structure defined in
builds/binary
it copies all binaries to temp docker build folder

this PR fixes the behavior and make it same as `archive` 

for example

```
builds:
- id: xxx 
  binary: plugins/xxx
```

before:

```
/tmp/goreleaserdocker2210262014/xxx
```

after:

```
/tmp/goreleaserdocker2210262014/plugins/xxx
```


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



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



<!-- # Provide links to any relevant tickets, URLs or other resources
-->
2023-08-03 09:19:07 -03:00
..
archivefiles refactor: add function to apply template multiple times (#4158) 2023-06-30 14:46:53 -03:00
artifact fix(nix): missing artifact type stringer 2023-06-25 05:42:49 +00:00
builders feat(deps): use mergo 1.0.0 2023-07-31 16:32:36 +00:00
client fix(winget): improve commit msgs (#4199) 2023-07-19 22:04:45 -03:00
commitauthor test: testctx pkg (#3807) 2023-03-02 00:01:11 -03:00
deprecate feat: improve output (#4206) 2023-07-25 08:26:44 -03:00
exec feat: remove deprecated replacements (#4075) 2023-06-06 11:46:02 -03:00
extrafiles test: testctx pkg (#3807) 2023-03-02 00:01:11 -03:00
gio refactor: gio.Chtimes (#4191) 2023-07-15 16:33:40 -03:00
git feat: improve verbose output (#4017) 2023-05-27 00:18:39 -03:00
golden feat: winget support (#4081) 2023-06-14 23:59:55 -03:00
http feat: remove deprecated replacements (#4075) 2023-06-06 11:46:02 -03:00
ids
logext feat: improve output (#4206) 2023-07-25 08:26:44 -03:00
middleware feat: continue on error (#4127) 2023-06-20 09:33:59 -03:00
pipe fix: docker respects builds binary file paths (#4218) 2023-08-03 09:19:07 -03:00
pipeline feat: continue on error (#4127) 2023-06-20 09:33:59 -03:00
semerrgroup style: spelling and grammar fixes (#4069) 2023-06-05 13:08:57 -03:00
shell feat: improve output (#3966) 2023-05-02 09:06:35 -03:00
static fix: init with extra quote 2022-12-21 23:43:30 -03:00
testctx test: improve source tests 2023-04-08 02:30:26 +00:00
testlib test: use t.Setenv to set env vars (#4140) 2023-06-25 09:54:10 -03:00
tmpl refactor: add function to apply template multiple times (#4158) 2023-06-30 14:46:53 -03:00
yaml