Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Sep 2, 2024
1 parent 886aee4 commit 5f59b6c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Login into Docker Hub
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin

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

Expand All @@ -58,7 +61,9 @@ jobs:

- uses: docker/build-push-action@v5
with:
tags: ghcr.io/friendsofshopware/shopware-demo-environment:${{ matrix.minorShopwareVersion }}
tags: |
ghcr.io/friendsofshopware/shopware-demo-environment:${{ matrix.minorShopwareVersion }}
friendsofshopware/shopware-demo-environment:${{ matrix.minorShopwareVersion }}
platforms: linux/amd64,linux/arm64
build-args: |
PHP_VERSION=${{ matrix.phpVersion }}
Expand Down

0 comments on commit 5f59b6c

Please sign in to comment.