Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdalmolin committed Feb 1, 2024
1 parent c2c53b3 commit 0fbc42d
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 44 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/php-8.1-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@ name: php-8.1-publish
on:
push:
branches:
- master

- multi-platform
jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
- uses: ./.github/actions/docker-publish
name: Build and Publish (8.1)
with:
name: kirschbaumdevelopment/laravel-test-runner
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
workdir: 8.1
tags: "8.1"
platforms: linux/amd64,linux/arm64
version: 8.1
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_TOKEN }}

validate:
runs-on: ubuntu-latest
needs: publish
container:
image: kirschbaumdevelopment/laravel-test-runner:8.1

steps:
- uses: actions/checkout@v1
- run: goss --gossfile 8.1/goss.yaml validate
11 changes: 0 additions & 11 deletions .github/workflows/php-8.1-validate.yml

This file was deleted.

27 changes: 17 additions & 10 deletions .github/workflows/php-8.2-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,27 @@ name: php-8.2-publish
on:
push:
branches:
- master
- multi-platform
jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
- uses: ./.github/actions/docker-publish
name: Build and Publish (8.2)
with:
name: kirschbaumdevelopment/laravel-test-runner
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
workdir: 8.2
tags: "8.2"
platforms: linux/amd64,linux/arm64
version: 8.2
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_TOKEN }}

validate:
runs-on: ubuntu-latest
needs: publish
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2

steps:
- uses: actions/checkout@v1
- run: goss --gossfile 8.2/goss.yaml validate
11 changes: 0 additions & 11 deletions .github/workflows/php-8.2-validate.yml

This file was deleted.

12 changes: 11 additions & 1 deletion .github/workflows/php-8.3-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ jobs:
with:
version: 8.3
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_TOKEN }}
docker-password: ${{ secrets.DOCKER_TOKEN }}

validate:
runs-on: ubuntu-latest
needs: publish
container:
image: kirschbaumdevelopment/laravel-test-runner:8.3

steps:
- uses: actions/checkout@v1
- run: goss --gossfile 8.3/goss.yaml validate

0 comments on commit 0fbc42d

Please sign in to comment.