Skip to content

Conversation

@JoeColeman95
Copy link
Contributor

Adding logging driver and logging options availability to the plugin.
This allows passing of custom log-driver and log-opt

For example:

steps:
  - label: "Hello World"
    command: "echo 'Hello, world'"
    plugins:
      - docker#v5.13.0:
          image: "alpine:latest"
          log-driver: "json-file"
          log-opt:
            - "max-size=1m"
            - "max-file=2"

This Fixes: #284

Also updates README.md to reflect changes and adds new unit tests.

Adding log-driver and log-opt options
@JoeColeman95 JoeColeman95 requested a review from a team as a code owner July 4, 2025 16:16
@JoeColeman95 JoeColeman95 requested a review from tomowatt July 7, 2025 10:37
@JoeColeman95 JoeColeman95 merged commit a0f1ca7 into master Jul 7, 2025
1 check passed
@JoeColeman95 JoeColeman95 deleted the adding-log-driver-opts branch July 7, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Docker logging drivers

3 participants