Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jan 30, 2024
1 parent c7dbe6b commit a14eada
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ jobs:
export "name=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest"
echo "image=${name,,}" >> ${GITHUB_OUTPUT}
- name: Cache Composer
id: cache-composer-files
uses: actions/cache@v3
with:
path: composer-cache-files
key: composer-cache-${{ hashFiles('composer.lock') }}

- name: Inject Cache
uses: reproducible-containers/[email protected]
with:
cache-source: composer-cache-files
cache-target: /root/.composer
skip-extraction: ${{ steps.cache-composer-files.outputs.cache-hit }}

- name: Generate image
run: shopware-cli project docker build ${{ steps.image.outputs.image }} --generate-only

Expand Down

0 comments on commit a14eada

Please sign in to comment.