Skip to content

Commit

Permalink
chore(docker): add riscv64 support
Browse files Browse the repository at this point in the history
- use unofficial-docker-for-riscv/baseimage-node:lts-alpine as base image
  • Loading branch information
ngc7331 committed Dec 8, 2024
1 parent 91e529f commit 9fedf60
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 722 deletions.
15 changes: 0 additions & 15 deletions .github/DISCUSSION_TEMPLATE/feature-requests.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/DISCUSSION_TEMPLATE/support.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: build
on:
push:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

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

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

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
run: |
REPOS="\
${{ secrets.DOCKERHUB_USER }}/riscv-homepage \
ghcr.io/${{ github.repository }} \
" ./build-docker-riscv.sh
31 changes: 0 additions & 31 deletions .github/workflows/crowdin.yml

This file was deleted.

140 changes: 0 additions & 140 deletions .github/workflows/docker-publish.yml

This file was deleted.

Loading

0 comments on commit 9fedf60

Please sign in to comment.