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

Rewrite Docker pipeline #2404

Merged
merged 34 commits into from
Oct 17, 2022
Merged

Rewrite Docker pipeline #2404

merged 34 commits into from
Oct 17, 2022

Conversation

jhale
Copy link
Member

@jhale jhale commented Oct 13, 2022

This PR rewrites the Docker image build pipeline.

  • Simpler.
  • Uses upsteam GitHub actions from Docker developers.
  • Uses more matrix builds to reduce duplication.
  • Pushes all images to GitHub Container Registry.
  • Supports use of nearly empty docker/Dockerfile.dummy for more rapid testing of CI steps.
  • Fixes bug where one pull of DOLFINx repository clone was implicit based off of workflow ref.

@jhale jhale marked this pull request as ready for review October 14, 2022 14:15
@jhale
Copy link
Member Author

jhale commented Oct 14, 2022

You can see a successful 'dummy' run of this workflow here: https://github.com/FEniCS/dolfinx/actions/runs/3250648594

-t dolfinx/dev-env:${{ steps.tag_name.outputs.TAG_PREFIX }} \
dolfinx/dev-env:${{ steps.tag_name.outputs.TAG_PREFIX }}-amd64 \
dolfinx/dev-env:${{ steps.tag_name.outputs.TAG_PREFIX }}-arm64
#
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Maybe add a comment saying that this is building the test-env

--tag ${GH_PREFIX}/${TAG} \
${DH_PREFIX}/${TAG}-amd64 \
${DH_PREFIX}/${TAG}-arm64
#
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Comment that this is building dev-env?

@jhale jhale merged commit d88b0dc into main Oct 17, 2022
@jhale jhale deleted the jhale/rewrite-docker-pipeline branch October 17, 2022 14:48
@garth-wells garth-wells added docker ci Continuous Integration labels Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants