kopia lustrzana https://github.com/carlos-algms/composer-and-node-ci
Adding php7.4 variant
rodzic
d6dc460623
commit
35a7a7c949
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
tag: [php8, php7.1]
|
||||
tag: [php8, php7.4, php7.1]
|
||||
image: [carlosalgms/composer-and-node-ci]
|
||||
latest: [php8]
|
||||
include:
|
||||
|
@ -19,6 +19,10 @@ jobs:
|
|||
|
||||
buildArgs: ""
|
||||
|
||||
- tag: php7.4
|
||||
buildArgs: |
|
||||
PHP_VERSION=7.4
|
||||
|
||||
- tag: php7.1
|
||||
buildArgs: |
|
||||
PHP_VERSION=7.1
|
||||
|
@ -28,17 +32,17 @@ jobs:
|
|||
TAGGED_IMAGE: ${{ matrix.image }}:${{ matrix.tag }}
|
||||
TAGS: ${{ matrix.tag == matrix.latest && format('{0}:latest,', matrix.image) || '' }}${{ matrix.image }}:${{ matrix.tag }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
id: docker_login
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.DS_Store
|
|
@ -62,7 +62,7 @@ ADD --chmod=755 \
|
|||
/usr/local/bin/composer
|
||||
|
||||
|
||||
ARG DEPLOYER_VERSION="v6.8.0"
|
||||
ARG DEPLOYER_VERSION="v6.9.0"
|
||||
RUN \
|
||||
curl -L "https://deployer.org/releases/${DEPLOYER_VERSION}/deployer.phar" \
|
||||
--output /usr/local/bin/dep \
|
||||
|
|
6
Makefile
6
Makefile
|
@ -9,6 +9,12 @@ build_8:
|
|||
-t $(IMAGE):latest \
|
||||
-t $(IMAGE):php8
|
||||
|
||||
build_74:
|
||||
docker buildx build --rm . \
|
||||
-f $(TARGET) \
|
||||
--load \
|
||||
--build-arg=PHP_VERSION="7.4" \
|
||||
-t $(IMAGE):php7.4 \
|
||||
|
||||
build_71:
|
||||
docker buildx build --rm . \
|
||||
|
|
1
zshrc
1
zshrc
|
@ -2,6 +2,7 @@ PROMPT=$'\n'"%B%F{green}%n%f %F{blue}%~%f%b"$'\n'"λ "
|
|||
|
||||
alias ls='/bin/ls --color=auto -F --group-directories-first'
|
||||
alias ll='ls -l'
|
||||
alias lsa='ls -la'
|
||||
alias l='ls -lA'
|
||||
|
||||
extract () {
|
||||
|
|
Ładowanie…
Reference in New Issue