Skip to content

Commit

Permalink
Documents PR #169, and #141.
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoFara committed Jan 3, 2024
1 parent 57b0d16 commit 3b4c90b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker image

on:
release:
types: [published]
types: [ published ]
push:
branches: [ 'master' ]
tags:
Expand All @@ -14,12 +14,16 @@ env:

jobs:
build-and-upload-image-to-release:
permissions: write-all
permissions:
contents: write
packages: write
release: write
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: #change platform here and below if changed
# For platform support change, change here and below
platform:
- linux/amd64
- linux/386
- linux/arm/v5
Expand All @@ -31,12 +35,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand Down Expand Up @@ -67,7 +71,7 @@ jobs:
asset_name: ${{ github.ref_name }}-${{ matrix.platform }}
tag: ${{ github.ref }}
build-and-push-image:
permissions:
permissions:
packages: write
runs-on: ubuntu-latest
strategy:
Expand All @@ -77,12 +81,12 @@ jobs:

- name: Checkout repository
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ ones are marked like "v1.0.0-fork".
`db/schema/baseline.sql` and no longer in PHP code.
* You can choose to add romanization for languages that don't need it in the language
settings ([#119](https://github.com/HugoFara/lwt/issues/119)).
* Docker images are now built for multiple platforms, see PR
[#169](https://github.com/HugoFara/lwt/pull/169), closing discussion
[#141](https://github.com/HugoFara/lwt/discussions/141).
Many thanks to [@ProgramComputer](https://github.com/ProgramComputer)!

### Changed

Expand Down
3 changes: 3 additions & 0 deletions docs/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -2254,6 +2254,9 @@ <h4>Added</h4>
<code>db/schema/baseline.sql</code> and no longer in PHP code.</li>
<li>You can choose to add romanization for languages that don't need it in the language
settings (<a href="https://github.com/HugoFara/lwt/issues/119">#119</a>).</li>
<li>Docker images are now built for multiple platforms, see
<a href="https://github.com/HugoFara/lwt/pull/169">#159</a>.
Many thanks to <a href="https://github.com/ProgramComputer">@ProgramComputer</a>!</li>
</ul>
<h4>Changed</h4>
<ul>
Expand Down

0 comments on commit 3b4c90b

Please sign in to comment.