Closed gdamjan closed 11 months ago
Since the github action triggers on a PR too, github.ref will be the target branch for merging (typically develop). In that case, don't try to login/push to docker hub.
github.ref
develop
https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
Signed-off-by: Damjan Georgievski gdamjan@gmail.com
Looks good, happy to merge.
Thanks again :)
Since the github action triggers on a PR too,
github.ref
will be the target branch for merging (typicallydevelop
). In that case, don't try to login/push to docker hub.https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
Signed-off-by: Damjan Georgievski gdamjan@gmail.com