fonts: add font for Burmese script, fixes webrecorder/browsertrix-cra… #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build and Create Draft Release for Brave-Based Browsertrix Browser Base | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
name: Build x86 and ARM Images | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- | |
name: Check out the repo | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- | |
name: Read brave-version.txt | |
id: package | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: ./brave-version.txt | |
- | |
name: Set env var with brave-version | |
id: set-browser-version | |
run: echo "BRAVE_VERSION=${{ steps.package.outputs.content }}" >> $GITHUB_ENV | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- | |
name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- | |
name: Test build | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
push: false | |
target: brave | |
build-args: | | |
BROWSER=brave | |
BROWSER_VERSION=${{ env.BRAVE_VERSION }} | |
tags: webrecorder/browsertrix-browser-base:brave-test | |
platforms: "linux/amd64,linux/arm64" | |
- | |
name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} | |
draft_release: | |
needs: build | |
name: Create draft release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- | |
name: Check out the repo | |
uses: actions/checkout@v3 | |
- | |
name: Read brave-version.txt | |
id: package | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: ./brave-version.txt | |
- | |
name: Set env var with brave-version | |
id: set-browser-version | |
run: echo "BRAVE_VERSION=${{ steps.package.outputs.content }}" >> $GITHUB_ENV | |
- | |
name: Create draft release on GitHub | |
uses: ncipollo/release-action@v1 | |
with: | |
draft: true | |
skipIfReleaseExists: true | |
allowUpdates: true | |
tag: brave-${{ env.BRAVE_VERSION }} | |
body: "This release publishes the image: `webrecorder/browsertrix-browser-base:brave-${{ env.BRAVE_VERSION }}`\n\nThe image is hosted [on DockerHub](https://hub.docker.com/r/webrecorder/browsertrix-browser-base/tags?name=brave-${{ env.BRAVE_VERSION }})" | |