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

Use docker image build cache in github actions #764

Draft
wants to merge 8 commits into
base: 3.x
Choose a base branch
from

Conversation

wotnak
Copy link
Collaborator

@wotnak wotnak commented Jan 1, 2024

Depends on changes from #751.

Instead of building docker images using docker build this pr introduces use of buildx through https://github.com/docker/build-push-action to leverage build cache that speeds up building docker images.

AlMaVizca and others added 8 commits December 23, 2023 14:00
Change versions, add common paths

Keep drupal path

Fix comment
Use common path on entrypoint
Use docker stages to install dependencies and simplify the building script.
Prepare production image while keeping compatibility with the development image.

Fix typo

Relocate arguments to improve cache

Make single line for each env definition

Remove composer home path

Avoid installing recommended packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants