Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would you consider ref tag type without event? #253

Open
Colin-b opened this issue Jan 9, 2023 · 0 comments
Open

Would you consider ref tag type without event? #253

Colin-b opened this issue Jan 9, 2023 · 0 comments

Comments

@Colin-b
Copy link

Colin-b commented Jan 9, 2023

Behaviour

Steps to reproduce this issue

Execute the action with only the ref tag type:
tags: | type=ref

Expected behaviour

Depending on the event, it should select the appropriate event type.
On a tag push, select the tag event type.
On a branch push, select the branch event type.

Actual behaviour

For now it fails with Missing event attribute for type=ref

Configuration

  • Repository URL (if public):
  • Build URL (if public):
on:
  push:
jobs:
  demo:
    steps:
      # Setup
      - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b  # v3.0.2
      - uses: docker/metadata-action@57396166ad8aefe6098280995947635806a0e6ea  # v4.1.1
        with:
          images: my_dummy_image
          tags: |
            type=ref

Logs

Download the log file of your build
and attach it to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants