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 6bd92d1 commit c7dbe6b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
export "name=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest"
echo "image=${name,,}" >> ${GITHUB_OUTPUT}
- name: Build image
run: shopware-cli project docker build ${{ steps.image.outputs.image }}
- name: Generate image
run: shopware-cli project docker build ${{ steps.image.outputs.image }} --generate-only

- name: Push
run: docker push ${{ steps.image.outputs.image }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.image.outputs.image }}

0 comments on commit c7dbe6b

Please sign in to comment.