Skip to content

feat: add shopware (#9) #1

feat: add shopware (#9)

feat: add shopware (#9) #1

name: 'Build shopware images'
on:
push:
branches:
- main
paths:
- images/shopware/**/*
workflow_dispatch:
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
prepare-php:
uses: ./.github/workflows/--prepare-php.yml
secrets: inherit
with:
min-version: '8.1'
build:
runs-on: ubuntu-22.04
needs:
- prepare-wp

Check failure on line 31 in .github/workflows/build-shopware.yml

View workflow run for this annotation

GitHub Actions / Build shopware images

Invalid workflow file

The workflow is not valid. .github/workflows/build-shopware.yml (Line: 31, Col: 9): Job 'build' depends on unknown job 'prepare-wp'.
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.2' ]
sw: [ '6.5.0.0' ]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/login-ghcr
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/build-push
with:
registry: ghcr.io
cache-mode: 'min'
context: images/shopware
image: myparcelnl/shopware
suffix: ${{ matrix.sw }}-php${{ matrix.php }}
build-args: |
PHP_VERSION=${{ matrix.php }}
SW_VERSION=${{ matrix.sw }}