Skip to content

Commit b950307

Browse files
authored
Merge pull request #7 from cwkang1998/update-github-docker-build
ci: update docker build to include arm64
2 parents d1409af + b8409cf commit b950307

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/docker.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,32 @@ on:
77

88
jobs:
99
build-and-push:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-latest-32-cores
1111

1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v3
1515

16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@v2
18+
with:
19+
platforms: "arm64,arm"
20+
1621
- name: Set up Docker Buildx
17-
uses: docker/setup-buildx-action@v1
22+
uses: docker/setup-buildx-action@v2
1823

1924
- name: Login to GitHub Container Registry
20-
uses: docker/login-action@v1
25+
uses: docker/login-action@v2
2126
with:
2227
registry: ghcr.io
2328
username: ${{ github.actor }}
2429
password: ${{ secrets.GITHUB_TOKEN }}
2530

2631
- name: Build and push Docker image
27-
uses: docker/build-push-action@v2
32+
uses: docker/build-push-action@v4
2833
with:
2934
context: .
35+
platforms: linux/amd64,linux/arm64
3036
push: true
3137
file: docker/Dockerfile
3238
tags: >

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @polkadot/apps
1+
# madara-app
22

33
A Portal into the Polkadot and Substrate networks. Provides a view and interaction layer from a browser.
44

@@ -18,7 +18,7 @@ The repo is split into a number of packages, each representing an application.
1818

1919
Contributions are welcome!
2020

21-
To start off, this repo (along with others in the [@polkadot](https://github.com/polkadot-js/) family) uses yarn workspaces to organize the code. As such, after cloning dependencies _should_ be installed via `yarn`, not via npm, the latter will result in broken dependencies.
21+
To start off, this repo uses yarn workspaces to organize the code. As such, after cloning dependencies _should_ be installed via `yarn`, not via npm, the latter will result in broken dependencies.
2222

2323
To get started -
2424

@@ -35,13 +35,13 @@ To get started -
3535
You can run a docker container via -
3636

3737
```
38-
docker run --rm -it --name polkadot-ui -e WS_URL=ws://someip:9944 -p 80:80 jacogr/polkadot-js-apps:latest
38+
docker run --rm -it --name madara-ui -e WS_URL=ws://someip:9944 -p 80:80 keep-starknet-strange/madara-app:latest
3939
```
4040

4141
To build a docker container containing local changes -
4242

4343
```
44-
docker build -t jacogr/polkadot-js-apps -f docker/Dockerfile .
44+
docker build -t keep-starknet-strange/madara-app -f docker/Dockerfile .
4545
```
4646

4747
When using these Docker commands, you can access the UI via http://localhost:80 (or just http://localhost)

0 commit comments

Comments
 (0)