mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
fix: pull image just pushed to local registry because docker sucks
This commit is contained in:
@@ -45,14 +45,13 @@ jobs:
|
||||
build-args: |
|
||||
BASE_IMAGE=php:${{ matrix.version }}${{ matrix.flavor }}
|
||||
tags: localhost:5000/chialab/php:${{ matrix.version }}${{ matrix.flavor }}
|
||||
load: true
|
||||
push: true
|
||||
|
||||
- name: Test image
|
||||
env:
|
||||
REGISTRY: localhost:5000/
|
||||
VERSION: ${{ matrix.version }}${{ matrix.flavor }}
|
||||
run: make test
|
||||
run: 'docker pull "${REGISTRY}${VERSION}" && make test'
|
||||
|
||||
- name: Build dev image for testing
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -62,14 +61,13 @@ jobs:
|
||||
build-args: |
|
||||
BASE_IMAGE=localhost:5000/chialab/php:${{ matrix.version }}${{ matrix.flavor }}
|
||||
tags: localhost:5000/chialab/php-dev:${{ matrix.version }}${{ matrix.flavor }}
|
||||
load: true
|
||||
push: true
|
||||
|
||||
- name: Test dev image
|
||||
env:
|
||||
REGISTRY: localhost:5000/
|
||||
VERSION: ${{ matrix.version }}${{ matrix.flavor }}
|
||||
run: make -C dev test
|
||||
run: 'docker pull "${REGISTRY}${VERSION}" && make -C dev test'
|
||||
|
||||
- name: Build xhprof image for testing
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -79,14 +77,13 @@ jobs:
|
||||
build-args: |
|
||||
BASE_IMAGE=localhost:5000/chialab/php:${{ matrix.version }}${{ matrix.flavor }}
|
||||
tags: localhost:5000/chialab/php-xhprof:${{ matrix.version }}${{ matrix.flavor }}
|
||||
load: true
|
||||
push: true
|
||||
|
||||
- name: Test xhprof image
|
||||
env:
|
||||
REGISTRY: localhost:5000/
|
||||
VERSION: ${{ matrix.version }}${{ matrix.flavor }}
|
||||
run: make -C xhprof test
|
||||
run: 'docker pull "${REGISTRY}${VERSION}" && make -C xhprof test'
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: "github.event_name != 'pull_request'"
|
||||
|
||||
Reference in New Issue
Block a user