Skip to content

Commit

Permalink
Updated releases
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Apr 13, 2021
1 parent 1da75e5 commit 8c9585d
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 3 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/docker-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -31,6 +44,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
Expand All @@ -50,6 +67,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -62,6 +92,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
Expand All @@ -81,6 +115,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -93,6 +140,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
Expand Down
54 changes: 51 additions & 3 deletions .github/workflows/docker-latest-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -28,14 +41,17 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
with:
push: true
context: .
tags: renokico/laravel-helm-demo:latest
labels: ${{ steps.docker_meta.outputs.labels }}
file: Dockerfile.fpm

push_octane:
Expand All @@ -48,6 +64,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -60,14 +89,17 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
with:
push: true
context: .
tags: renokico/laravel-helm-demo:octane-latest
labels: ${{ steps.docker_meta.outputs.labels }}
file: Dockerfile.octane

push_worker:
Expand All @@ -80,6 +112,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, intl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: pcov

- uses: actions/cache@v2.1.4
name: Cache Composer dependencies
with:
path: ~/.composer/cache/files
key: composer-${{ hashFiles('composer.json') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -92,12 +137,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-dev
- name: Build and push
id: docker
uses: docker/build-push-action@v2
with:
push: true
context: .
tags: renokico/laravel-helm-demo:worker-latest
labels: ${{ steps.docker_meta.outputs.labels }}
file: Dockerfile.worker

0 comments on commit 8c9585d

Please sign in to comment.