Skip to content

Commit

Permalink
Support D11
Browse files Browse the repository at this point in the history
  • Loading branch information
skyred committed Jul 30, 2024
1 parent f8f3a6b commit 95a2e4d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 7 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,24 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push - D9
id: docker_build_9
name: Build and push - D10
id: docker_build_10
uses: docker/build-push-action@v2
with:
context: ./9/
context: ./10/
push: true
tags: |
insready/drupal-commerce:9
insready/drupal-commerce:10
insready/drupal-commerce:latest
-
name: Build and push - D9 dev
id: docker_build_9_dev
uses: docker/build-push-action@v2
continue-on-error: true
with:
context: ./dev/
context: ./9-dev/
push: true
tags: |
insready/drupal-commerce:dev
insready/drupal-commerce:9-dev
-
name: Build and push - D10 dev
Expand All @@ -51,6 +50,17 @@ jobs:
push: true
tags: |
insready/drupal-commerce:10-dev
insready/drupal-commerce:dev
-
name: Build and push - D11 dev
id: docker_build_11_dev
uses: docker/build-push-action@v2
continue-on-error: true
with:
context: ./11-dev/
push: true
tags: |
insready/drupal-commerce:11-dev
-
name: Update repo description
uses: peter-evans/dockerhub-description@v2
Expand Down
2 changes: 1 addition & 1 deletion dev/Dockerfile → 11-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM insready/drupal-dev:10
FROM insready/drupal-dev:11

# install the PHP extensions we need
RUN docker-php-ext-install bcmath
Expand Down
8 changes: 8 additions & 0 deletions 9-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM insready/drupal-dev:9

# install the PHP extensions we need
RUN docker-php-ext-install bcmath

# install Drupal Commerce 2.x https://docs.drupalcommerce.org/commerce2/developer-guide/install-update/installation#existing-site
RUN composer config minimum-stability dev \
&& composer require "drupal/commerce"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Supported tags and respective `Dockerfile` links

- [`10`, `latest` (*Dockerfile*)](https://github.com/INsReady/docker-drupal-commerce/blob/master/10/Dockerfile)
- [`11-dev` (*Dockerfile*)](https://github.com/INsReady/docker-drupal-commerce/blob/master/11-dev/Dockerfile)
- [`10-dev`, `dev` (*Dockerfile*)](https://github.com/INsReady/docker-drupal-commerce/blob/master/10-dev/Dockerfile)
- [`9-dev` (*Dockerfile*)](https://github.com/INsReady/docker-drupal-commerce/blob/master/9-dev/Dockerfile)

Expand Down

0 comments on commit 95a2e4d

Please sign in to comment.