Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
2e93b67c
Unverified
Commit
2e93b67c
authored
Feb 03, 2022
by
Nicolas Giard
Committed by
GitHub
Feb 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: improve build workflow
parent
5dd855f0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
1 deletion
+52
-1
build.yml
.github/workflows/build.yml
+52
-1
No files found.
.github/workflows/build.yml
View file @
2e93b67c
...
@@ -116,10 +116,61 @@ jobs:
...
@@ -116,10 +116,61 @@ jobs:
dev/cypress/ci-setup.sh
dev/cypress/ci-setup.sh
docker run --name cypress --ipc=host --shm-size 1G -v $GITHUB_WORKSPACE:/e2e -w /e2e cypress/included:4.9.0 --record --key "$(CYPRESS_KEY)" --headless --group "$MATRIXENV" --ci-build-id "$REL_VERSION_STRICT" --config baseUrl=http://172.17.0.1:3000
docker run --name cypress --ipc=host --shm-size 1G -v $GITHUB_WORKSPACE:/e2e -w /e2e cypress/included:4.9.0 --record --key "$(CYPRESS_KEY)" --headless --group "$MATRIXENV" --ci-build-id "$REL_VERSION_STRICT" --config baseUrl=http://172.17.0.1:3000
arm
:
name
:
ARM Build
runs-on
:
ubuntu-latest
needs
:
[
cypress
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v1
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to DockerHub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v1
with
:
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Download a Build Artifact
uses
:
actions/download-artifact@v2.1.0
with
:
name
:
drop
path
:
drop
-
name
:
Extract Build
run
:
|
mkdir -p build
tar -xzf $GITHUB_WORKSPACE/drop/wiki-js.tar.gz -C $GITHUB_WORKSPACE/build --exclude=node_modules
-
name
:
Build and push Docker images
uses
:
docker/build-push-action@v2.9.0
with
:
context
:
.
file
:
dev/build-arm/Dockerfile
platforms
:
linux/arm64,linux/arm/v7
push
:
true
tags
:
|
requarks/wiki:canary-arm
requarks/wiki:canary-arm-${{ env.REL_VERSION_STRICT }}
ghcr.io/requarks/wiki:canary-arm
ghcr.io/requarks/wiki:canary-arm-${{ env.REL_VERSION_STRICT }}
windows
:
windows
:
name
:
Windows Build
name
:
Windows Build
runs-on
:
windows-latest
runs-on
:
windows-latest
needs
:
[
build
]
needs
:
[
cypress
]
steps
:
steps
:
-
name
:
Setup Node.js environment
-
name
:
Setup Node.js environment
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment