Update dependency laravel/framework to v11.30.0 (dev) #9756
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Build | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths-ignore: | |
- 'README.md' | |
- 'renovate.json' | |
- '.github/workflows/update-dockerhub.yml' | |
- '.github/workflows/website_build.yml' | |
- 'docs' | |
pull_request: | |
branches: | |
- master | |
- dev | |
- 'renovate/**' | |
- 'feature/**' | |
paths-ignore: | |
- 'README.md' | |
- 'renovate.json' | |
- '.github/workflows/update-dockerhub.yml' | |
- '.github/workflows/website_build.yml' | |
- 'docs' | |
workflow_dispatch: # Allows action to be run manually from the Actions tab | |
jobs: | |
build-docker: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: get dependencies | |
run: make composer-install-dev; make npm-install-gh | |
- name: make foldersctructure and layout images | |
run: make folder-structure-dev; make layout-images-dev | |
- name: Login to DockerHub | |
if: ${{ github.event_name != 'pull_request' }} | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build Linux Image | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64,linux/arm/v7 | |
tags: | | |
lan2play/eventula-manager:latest | |
build-args: | | |
BUILDNODE=GitHub (Run Number: ${{ github.run_number }} Run ID: ${{ github.run_id }}) | |
BUILDID=${{ github.run_id }} | |
BUILDNUMBER=${{ github.run_number }} | |
SOURCE_COMMIT=${{ github.sha }} | |
SOURCE_REF=${{ github.ref }} | |
no-cache: true | |
push: false | |
- name: Build and push Linux Image | |
if: ${{ startsWith(github.ref, 'refs/heads/master') && github.event_name == 'push' }} | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64,linux/arm/v7 | |
tags: | | |
lan2play/eventula-manager:latest | |
build-args: | | |
BUILDNODE=GitHub (Run Number: ${{ github.run_number }} Run ID: ${{ github.run_id }}) | |
BUILDID=${{ github.run_id }} | |
BUILDNUMBER=${{ github.run_number }} | |
SOURCE_COMMIT=${{ github.sha }} | |
SOURCE_REF=${{ github.ref }} | |
no-cache: true | |
push: true | |
- name: Build and push Linux Image dev | |
if: ${{ startsWith(github.ref, 'refs/heads/dev') && github.event_name == 'push' }} | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64,linux/arm/v7 | |
tags: | | |
lan2play/eventula-manager:dev | |
build-args: | | |
BUILDNODE=GitHub (Run Number: ${{ github.run_number }} Run ID: ${{ github.run_id }}) | |
BUILDID=${{ github.run_id }} | |
BUILDNUMBER=${{ github.run_number }} | |
SOURCE_COMMIT=${{ github.sha }} | |
SOURCE_REF=${{ github.ref }} | |
no-cache: true | |
push: true |