Closed JwanKhalaf closed 9 months ago
tags: |
type=ref,event=tag
You're only setting a type tag event and therefore will not generate any tag with current workflow event that is only push to main branch:
on:
push:
branches: [main]
Contributing guidelines
I've found a bug, and:
Description
When a PR is merged, I want to push to Docker Hub with two tags:
latest
andv0.0.8
(or whatever the latest tag is).However, I'm having a problem where the build and push action fails because it is expecting a tag to be present that it can't find.
Expected behaviour
I expect the new tag to be identified and picked up by the metadata action.
Actual behaviour
The new tag isn't found.
Repository URL
https://github.com/JwanKhalaf/bejebeje.admin
Workflow run URL
https://github.com/JwanKhalaf/bejebeje.admin/blob/main/.github/workflows/dockerhub-push.yml
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
No response