Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aserstobitov authored Feb 27, 2024
1 parent 6f1c5a5 commit 8685eed
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,24 @@ permissions:
packages: write

jobs:
build:
uses: shopware/github-actions/.github/workflows/build-docker-image.yml@main
with:
bun-version: '1.0.22'
secrets:
ghToken: ${{ secrets.GITHUB_TOKEN }}
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Login into Github Docker Registery
run: echo "${{ secrets.ghToken }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Install Shopware-CLI
uses: FriendsOfShopware/shopware-cli-action@v1

- name: Generate jwt-private
run: echo "${{ shopware-cli project generate-jwt --env }}"

# build:
# uses: shopware/github-actions/.github/workflows/build-docker-image.yml@main
# with:
# bun-version: '1.0.22'
# secrets:
# ghToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8685eed

Please sign in to comment.