summaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-03-26 00:09:24 +0300
committerAndrew Dolgov <[email protected]>2023-03-26 00:09:24 +0300
commitd40b6c655fe32d8823e004b6ad89ab5805667d52 (patch)
treee3f80f25325289b4b5c90101e8c5e2292e3d0aad /.gitea
parent6cf4ebbabdf37b3313a888496b05cad555a6d161 (diff)
enable multiarch
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/build.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml
index da72774a8..2dadbce22 100644
--- a/.gitea/workflows/build.yml
+++ b/.gitea/workflows/build.yml
@@ -55,6 +55,11 @@ jobs:
- run: echo REPO_COMMIT_FULL=$(git --git-dir '.git' --no-pager log --pretty='%H' -n1 HEAD) >> $GITHUB_ENV
- run: echo BUILD_TAG=$(date -d @${REPO_TIMESTAMP} +%y.%m)-${REPO_COMMIT} >> $GITHUB_ENV
+ - run: apk add --no-cache docker-cli
+
+ - name: setup qemu
+ uses: https://github.com/docker/setup-qemu-action@v2
+
- name: setup buildx
uses: https://github.com/docker/setup-buildx-action@v2
@@ -72,6 +77,7 @@ jobs:
uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ !!secrets.REGISTRY_PUSH_ENABLED }}
+ platforms: linux/amd64
context: .docker/web-nginx
tags: |
registry-rw.fakecake.org/cthulhoo/ttrss-web-nginx:latest
@@ -82,6 +88,7 @@ jobs:
uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ !!secrets.REGISTRY_PUSH_ENABLED }}
+ platforms: linux/amd64
context: .docker/app
build-contexts:
app-src=.
@@ -105,6 +112,7 @@ jobs:
uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ !!secrets.REGISTRY_GITHUB_PUSH_ENABLED }}
+ platforms: linux/amd64,linux/arm64,linux/arm/v7
context: .docker/web-nginx
tags: |
cthulhoo/ttrss-web-nginx:latest
@@ -115,6 +123,7 @@ jobs:
uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ !!secrets.REGISTRY_GITHUB_PUSH_ENABLED }}
+ platforms: linux/amd64,linux/arm64,linux/arm/v7
context: .docker/app
build-contexts:
app-src=.