Skip to content

refactor(ci): enable building docker for develop branch#443

Merged
shotonoff merged 29 commits intov0.10-devfrom
update-gh-ci-docker-build
Sep 12, 2022
Merged

refactor(ci): enable building docker for develop branch#443
shotonoff merged 29 commits intov0.10-devfrom
update-gh-ci-docker-build

Conversation

@shotonoff
Copy link
Collaborator

@shotonoff shotonoff commented Aug 15, 2022

Issue being fixed or feature implemented

Enable building docker image for develop branches

What was done?

Changed github ci configuration to create a tag based on branch name.

How Has This Been Tested?

Manually

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

Copy link
Contributor

@strophy strophy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

- published
push:
branches:
- v0.*-dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you consiider building an image of each PR that has some label?
Like, we'll add a label "build-docker-image" to the PR, and it will build and push the image to registry with every push to that PR.

That will be better for our needs, as we will be able to request images for non-merged PRs.

See https://blog.mergify.com/running-github-actions-only-on-certain-pull-requests/ (just googled, didn't check).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another option could be to add a workflow_dispatch trigger, so you can run the action by clicking a button, selecting a branch and typing an arbitrary docker tag in the GitHub Actions UI. This is what we went with for core team here. Up to you guys :)

Copy link
Collaborator Author

@shotonoff shotonoff Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can use both options :-)

@shotonoff shotonoff added docker and removed docker labels Aug 19, 2022
@shotonoff shotonoff added docker and removed docker labels Aug 19, 2022
@shotonoff shotonoff added docker and removed docker labels Aug 19, 2022
@shotonoff shotonoff added docker and removed docker labels Aug 19, 2022
@shotonoff shotonoff added docker and removed docker labels Aug 19, 2022
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Aug 30, 2022
Copy link
Collaborator

@lklimek lklimek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot removed the Stale label Sep 2, 2022
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Sep 12, 2022
@shotonoff shotonoff changed the base branch from v0.8-dev to v0.10-dev September 12, 2022 10:42
@shotonoff shotonoff removed the Stale label Sep 12, 2022
@shotonoff shotonoff merged commit f269fd3 into v0.10-dev Sep 12, 2022
@shotonoff shotonoff deleted the update-gh-ci-docker-build branch September 12, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants