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

Commits on Dec 23, 2023

  1. Define baseimage with arguments required in multiple stages

    Change versions, add common paths
    
    Keep drupal path
    
    Fix comment
    AlMaVizca committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    4803e40 View commit details
    Browse the repository at this point in the history
  2. Avoid repeating common path

    Use common path on entrypoint
    AlMaVizca committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    3a25ca5 View commit details
    Browse the repository at this point in the history
  3. Refactor composer dependencies to create the production image

    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
    AlMaVizca committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    635adf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53fd5eb View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Merge development image into a single Dockerfile

    Changes based on PR review
    AlMaVizca committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3774afe View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Configuration menu
    Copy the full SHA
    778de46 View commit details
    Browse the repository at this point in the history
  2. Add GIT_COMMIT build arg to ensure cache invalidation between differe…

    …nt commits on the same branch
    wotnak committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    e54d689 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb8a776 View commit details
    Browse the repository at this point in the history