File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 10
10
schedule :
11
11
- cron : ' 0 0 * * 0'
12
12
13
-
14
13
jobs :
15
14
build_test_maybe_release :
16
15
strategy :
49
48
- uses : actions/checkout@v1
50
49
- name : Build and test
51
50
run : |
52
- PHP_VERSION="${{ matrix.php_version }}" BRANCH="$GITHUB_REF_NAME_SLUG " VARIANT="${{ matrix.variant }}" ./build-and-test.sh
51
+ PHP_VERSION="${{ matrix.php_version }}" BRANCH="v3 " VARIANT="${{ matrix.variant }}" ./build-and-test.sh
53
52
docker images | grep thecodingmachine/php
54
53
- name : Login to DockerHub
55
54
# Merge ~ push.
63
62
if : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
64
63
run : |
65
64
BRANCH_VARIANT=`echo "${{ matrix.variant }}" | sed 's/\./-/g'`
66
- docker push thecodingmachine/php:${{ matrix.php_version }}-${GITHUB_REF_NAME_SLUG} -slim-${BRANCH_VARIANT}
67
- docker push thecodingmachine/php:${{ matrix.php_version }}-${GITHUB_REF_NAME_SLUG} -${BRANCH_VARIANT}
68
- docker push thecodingmachine/php:${{ matrix.php_version }}-${GITHUB_REF_NAME_SLUG} -${BRANCH_VARIANT}-node8
69
- docker push thecodingmachine/php:${{ matrix.php_version }}-${GITHUB_REF_NAME_SLUG} -${BRANCH_VARIANT}-node10
70
- docker push thecodingmachine/php:${{ matrix.php_version }}-${GITHUB_REF_NAME_SLUG} -${BRANCH_VARIANT}-node12
65
+ docker push thecodingmachine/php:${{ matrix.php_version }}-v3 -slim-${BRANCH_VARIANT}
66
+ docker push thecodingmachine/php:${{ matrix.php_version }}-v3 -${BRANCH_VARIANT}
67
+ docker push thecodingmachine/php:${{ matrix.php_version }}-v3 -${BRANCH_VARIANT}-node8
68
+ docker push thecodingmachine/php:${{ matrix.php_version }}-v3 -${BRANCH_VARIANT}-node10
69
+ docker push thecodingmachine/php:${{ matrix.php_version }}-v3 -${BRANCH_VARIANT}-node12
You can’t perform that action at this time.
0 commit comments