Skip to content

Try to fix docker/build-push-action in PRs from external forks#413

Merged
ethanjli merged 15 commits into
fairscope:masterfrom
ethanjli:feature/fix-ci-from-external-pr
May 17, 2024
Merged

Try to fix docker/build-push-action in PRs from external forks#413
ethanjli merged 15 commits into
fairscope:masterfrom
ethanjli:feature/fix-ci-from-external-pr

Conversation

@ethanjli
Copy link
Copy Markdown
Collaborator

@ethanjli ethanjli commented May 16, 2024

This PR attempts to fix failure of docker/build-push-action in PRs made from external forks of the github.com/PlanktoScope/PlanktoScope repo, e.g. as in #402

This PR initially attempted to take a different approach than PlanktoScope/device-backend#30 / PlanktoScope/device-backend#31 , by trying to make container images get published under the namespace of the user who owns the external fork. However, that didn't work, so this PR just takes the same approach as those PRs in device-backend: now this PR just disables pushing of container images from external forks.

This PR also refactors the CI workflows for readability & reusability.

@ethanjli ethanjli added this pull request to the merge queue May 17, 2024
Merged via the queue into fairscope:master with commit 8de5d33 May 17, 2024
@ethanjli ethanjli deleted the feature/fix-ci-from-external-pr branch May 17, 2024 03:01
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.

1 participant