CrazyMax
CrazyMax
@Drowze > if it was possible to cache the dependencies directory You can already cache dependencies using the [`RUN --mount=type=cache` mount](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md#run---mounttypecache). See this example: https://github.com/portapps/portapps.github.io/blob/cde4dd6de0a2876f0311ae321f25f454cf417076/dev.Dockerfile#L7-L13
> So using `RUN --mount=type=cache` will cache that mount in between builds using `gha` caching type? Even on GitHub managed runners (_not_ self-hosted)? 🤔 No it will not export this...
@febus982 Sgtm. I think instead of a boolean parameter for `append`, it should be the name of the builder we want to append to. We should also have a `platform`...
You can now append nodes to existing builder, see https://github.com/docker/setup-buildx-action/blob/master/docs/advanced/append-nodes.md for more info.
`workflow_dispatch` event is considered the same as a `push` event with this action as `GITHUB_REF` is always a branch: * https://github.com/docker/metadata-action/blob/master/__tests__/fixtures/event_workflow_dispatch.env * https://github.com/docker/metadata-action/blob/master/__tests__/fixtures/event_workflow_dispatch_dev.env For example manually triggered [`buildx-977` workflow](https://github.com/crazy-max/buildx-buildkit-tests/actions/workflows/buildx-977.yml) from...
@zero88 > It should be `1.0.0` ??? That's because your pattern is incorrect I guess. What is the value of `GITHUB_REF` in your pipeline? I would need the link to...
@zero88 I have [improved the logging](https://github.com/crazy-max/ghaction-docker-meta/runs/2260480459?check_suite_focus=true#step:4:26). Can you give me the output of the meta step please?
@zero88 I think the following should work: ```yaml tags: type=match,pattern=p1-v(\d.\d.\d),group=1 type=match,pattern=p1-v(\d.\d),group=1 type=ref,event=pr type=sha ``` or ```yaml tags: type=match,pattern=\d.\d.\d type=match,pattern=\d.\d type=ref,event=pr type=sha ```
@zero88 > * `/` will be escaped to `-` in prepare step then you do regex matching? So if `feature/a/b-c` then `feature-a-b-c`? So it doesn't clear to identify which one...
> the `{{ sha }}` refers to the temporary merge commit to the target branch, not the commit that was pushed to trigger the event. No, `{{sha}}` refers to the...