Skip to content

Commit

Permalink
Merge pull request #141 from shyim/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
shyim committed Mar 3, 2024
2 parents a4a7d29 + 8f788d6 commit ab67c70
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 196 deletions.
28 changes: 14 additions & 14 deletions .circleci/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:

- run: echo "$GHCR_PASSWORD" | docker login ghcr.io -u shyim --password-stdin

- run: docker build -t ghcr.io/shyim/shopware-nginx:8.2-arm64 -t ghcr.io/shyim/shopware-nginx:8.2.15-arm64 -f nginx/8.2/Dockerfile .
- run: docker build -t ghcr.io/shyim/shopware-nginx:8.2-arm64 -t ghcr.io/shyim/shopware-nginx:8.2.16-arm64 -f nginx/8.2/Dockerfile .

- run: docker push ghcr.io/shyim/shopware-nginx:8.2-arm64

- run: docker push ghcr.io/shyim/shopware-nginx:8.2.15-arm64
- run: docker push ghcr.io/shyim/shopware-nginx:8.2.16-arm64

php82-amd64:
machine:
Expand All @@ -64,11 +64,11 @@ jobs:

- run: echo "$GHCR_PASSWORD" | docker login ghcr.io -u shyim --password-stdin

- run: docker build -t ghcr.io/shyim/shopware-nginx:8.2-amd64 -t ghcr.io/shyim/shopware-nginx:8.2.15-amd64 -f nginx/8.2/Dockerfile .
- run: docker build -t ghcr.io/shyim/shopware-nginx:8.2-amd64 -t ghcr.io/shyim/shopware-nginx:8.2.16-amd64 -f nginx/8.2/Dockerfile .

- run: docker push ghcr.io/shyim/shopware-nginx:8.2-amd64

- run: docker push ghcr.io/shyim/shopware-nginx:8.2.15-amd64
- run: docker push ghcr.io/shyim/shopware-nginx:8.2.16-amd64

php83-arm64:
machine:
Expand All @@ -80,11 +80,11 @@ jobs:

- run: echo "$GHCR_PASSWORD" | docker login ghcr.io -u shyim --password-stdin

- run: docker build -t ghcr.io/shyim/shopware-nginx:8.3-arm64 -t ghcr.io/shyim/shopware-nginx:8.3.2-arm64 -f nginx/8.3/Dockerfile .
- run: docker build -t ghcr.io/shyim/shopware-nginx:8.3-arm64 -t ghcr.io/shyim/shopware-nginx:8.3.3-arm64 -f nginx/8.3/Dockerfile .

- run: docker push ghcr.io/shyim/shopware-nginx:8.3-arm64

- run: docker push ghcr.io/shyim/shopware-nginx:8.3.2-arm64
- run: docker push ghcr.io/shyim/shopware-nginx:8.3.3-arm64

php83-amd64:
machine:
Expand All @@ -96,11 +96,11 @@ jobs:

- run: echo "$GHCR_PASSWORD" | docker login ghcr.io -u shyim --password-stdin

- run: docker build -t ghcr.io/shyim/shopware-nginx:8.3-amd64 -t ghcr.io/shyim/shopware-nginx:8.3.2-amd64 -f nginx/8.3/Dockerfile .
- run: docker build -t ghcr.io/shyim/shopware-nginx:8.3-amd64 -t ghcr.io/shyim/shopware-nginx:8.3.3-amd64 -f nginx/8.3/Dockerfile .

- run: docker push ghcr.io/shyim/shopware-nginx:8.3-amd64

- run: docker push ghcr.io/shyim/shopware-nginx:8.3.2-amd64
- run: docker push ghcr.io/shyim/shopware-nginx:8.3.3-amd64


merge-manifest:
Expand All @@ -119,21 +119,21 @@ jobs:

- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.1.27

- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.2 --amend ghcr.io/shyim/shopware-nginx:8.2.15-amd64 --amend ghcr.io/shyim/shopware-nginx:8.2.15-arm64
- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.2 --amend ghcr.io/shyim/shopware-nginx:8.2.16-amd64 --amend ghcr.io/shyim/shopware-nginx:8.2.16-arm64

- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.2.15 --amend ghcr.io/shyim/shopware-nginx:8.2.15-amd64 --amend ghcr.io/shyim/shopware-nginx:8.2.15-arm64
- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.2.16 --amend ghcr.io/shyim/shopware-nginx:8.2.16-amd64 --amend ghcr.io/shyim/shopware-nginx:8.2.16-arm64

- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.2

- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.2.15
- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.2.16

- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.3 --amend ghcr.io/shyim/shopware-nginx:8.3.2-amd64 --amend ghcr.io/shyim/shopware-nginx:8.3.2-arm64
- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.3 --amend ghcr.io/shyim/shopware-nginx:8.3.3-amd64 --amend ghcr.io/shyim/shopware-nginx:8.3.3-arm64

- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.3.2 --amend ghcr.io/shyim/shopware-nginx:8.3.2-amd64 --amend ghcr.io/shyim/shopware-nginx:8.3.2-arm64
- run: docker manifest create ghcr.io/shyim/shopware-nginx:8.3.3 --amend ghcr.io/shyim/shopware-nginx:8.3.3-amd64 --amend ghcr.io/shyim/shopware-nginx:8.3.3-arm64

- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.3

- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.3.2
- run: docker manifest push ghcr.io/shyim/shopware-nginx:8.3.3

workflows:
build-base-image:
Expand Down
154 changes: 53 additions & 101 deletions .github/workflows/shopware.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index_php.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"8.1":"8.1.27","8.2":"8.2.15","8.3":"8.3.2"}
{"8.1":"8.1.27","8.2":"8.2.16","8.3":"8.3.3"}
2 changes: 1 addition & 1 deletion nginx/8.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2.15-fpm-alpine
FROM php:8.2.16-fpm-alpine

ENV APP_ENV=prod \
LOCK_DSN=flock \
Expand Down
2 changes: 1 addition & 1 deletion nginx/8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.2-fpm-alpine
FROM php:8.3.3-fpm-alpine

ENV APP_ENV=prod \
LOCK_DSN=flock \
Expand Down
16 changes: 0 additions & 16 deletions shopware/8.1/6.5.1.0/Dockerfile

This file was deleted.

19 changes: 0 additions & 19 deletions shopware/8.1/6.5.1.0/Dockerfile.cli

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/friendsofshopware/shopware-cli as project-creator

WORKDIR /
RUN shopware-cli project create shop 6.5.0.0
RUN shopware-cli project create shop 6.5.8.6

FROM ghcr.io/shyim/shopware-nginx:8.1.27

Expand All @@ -10,7 +10,7 @@ COPY --from=composer/composer:2-bin /composer /usr/local/bin/composer
COPY --from=project-creator /shop /var/www/html

RUN mkdir /state && \
echo "6.5.0.0" > /shopware_version && \
echo "6.5.8.6" > /shopware_version && \
chown -R www-data:www-data /var/www

VOLUME /state /var/www/html/custom/plugins /var/www/html/files /var/www/html/var/log /var/www/html/public/theme /var/www/html/public/media /var/www/html/public/bundles /var/www/html/public/sitemap /var/www/html/public/thumbnail /var/www/html/config/jwt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/friendsofshopware/shopware-cli as project-creator

WORKDIR /
RUN shopware-cli project create shop 6.5.0.0
RUN shopware-cli project create shop 6.5.8.6

FROM ghcr.io/shyim/shopware-nginx:8.1.27

Expand All @@ -10,7 +10,7 @@ COPY --from=composer/composer:2-bin /composer /usr/local/bin/composer
COPY --from=project-creator /shop /var/www/html

RUN mkdir /state && \
echo "6.5.0.0" > /shopware_version && \
echo "6.5.8.6" > /shopware_version && \
chown -R www-data:www-data /var/www

VOLUME /state /var/www/html/custom/plugins /var/www/html/files /var/www/html/var/log /var/www/html/public/theme /var/www/html/public/media /var/www/html/public/bundles /var/www/html/public/sitemap /var/www/html/public/thumbnail /var/www/html/config/jwt
Expand Down
16 changes: 0 additions & 16 deletions shopware/8.2/6.5.0.0/Dockerfile

This file was deleted.

19 changes: 0 additions & 19 deletions shopware/8.2/6.5.1.0/Dockerfile.cli

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/friendsofshopware/shopware-cli as project-creator

WORKDIR /
RUN shopware-cli project create shop 6.5.1.0
RUN shopware-cli project create shop 6.5.8.6

FROM ghcr.io/shyim/shopware-nginx:8.2.15

Expand All @@ -10,7 +10,7 @@ COPY --from=composer/composer:2-bin /composer /usr/local/bin/composer
COPY --from=project-creator /shop /var/www/html

RUN mkdir /state && \
echo "6.5.1.0" > /shopware_version && \
echo "6.5.8.6" > /shopware_version && \
chown -R www-data:www-data /var/www

VOLUME /state /var/www/html/custom/plugins /var/www/html/files /var/www/html/var/log /var/www/html/public/theme /var/www/html/public/media /var/www/html/public/bundles /var/www/html/public/sitemap /var/www/html/public/thumbnail /var/www/html/config/jwt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/friendsofshopware/shopware-cli as project-creator

WORKDIR /
RUN shopware-cli project create shop 6.5.0.0
RUN shopware-cli project create shop 6.5.8.6

FROM ghcr.io/shyim/shopware-nginx:8.2.15

Expand All @@ -10,7 +10,7 @@ COPY --from=composer/composer:2-bin /composer /usr/local/bin/composer
COPY --from=project-creator /shop /var/www/html

RUN mkdir /state && \
echo "6.5.0.0" > /shopware_version && \
echo "6.5.8.6" > /shopware_version && \
chown -R www-data:www-data /var/www

VOLUME /state /var/www/html/custom/plugins /var/www/html/files /var/www/html/var/log /var/www/html/public/theme /var/www/html/public/media /var/www/html/public/bundles /var/www/html/public/sitemap /var/www/html/public/thumbnail /var/www/html/config/jwt
Expand Down

0 comments on commit ab67c70

Please sign in to comment.