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 fdc3dc2 commit 1fa725c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ jobs:
- name: Install Shopware-CLI
uses: FriendsOfShopware/shopware-cli-action@v1

- name: Make image name small
id: image
run: |
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 ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
run: shopware-cli project docker build ${{ steps.image.outputs.image }}

- name: Push
run: docker push ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest

0 comments on commit 1fa725c

Please sign in to comment.