sforkowany z mirror/composer-and-node-ci
Enable docker build cache-from
rodzic
e3dede34ca
commit
900706f95c
|
@ -19,11 +19,15 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
||||
- run: docker pull carlosalgms/composer-and-node-ci:php8
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
cache-from: |
|
||||
carlosalgms/composer-and-node-ci:php8
|
||||
tags: carlosalgms/composer-and-node-ci:latest,carlosalgms/composer-and-node-ci:php8
|
||||
|
||||
|
||||
|
@ -39,11 +43,15 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
||||
- run: docker pull carlosalgms/composer-and-node-ci:php7
|
||||
|
||||
- name: Build 7 and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
cache-from: |
|
||||
carlosalgms/composer-and-node-ci:php7
|
||||
build-args: |
|
||||
FROM_IMAGE=php:7-cli
|
||||
tags: carlosalgms/composer-and-node-ci:php7
|
||||
|
@ -61,11 +69,15 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
||||
- run: docker pull carlosalgms/composer-and-node-ci:php7.1
|
||||
|
||||
- name: Build 7.1 and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
cache-from: |
|
||||
carlosalgms/composer-and-node-ci:php7.1
|
||||
build-args: |
|
||||
FROM_IMAGE=php:7.1-cli
|
||||
DEPLOYER_VERSION="v6.6.0"
|
||||
|
|
Ładowanie…
Reference in New Issue