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
30576149
Unverified
Commit
30576149
authored
Feb 04, 2023
by
Nicolas Giard
Committed by
GitHub
Feb 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: update build workflow actions
parent
30b66b16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
build.yml
.github/workflows/build.yml
+22
-22
No files found.
.github/workflows/build.yml
View file @
30576149
...
...
@@ -19,7 +19,7 @@ jobs:
packages
:
write
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set Build Variables
run
:
|
...
...
@@ -42,20 +42,20 @@ jobs:
cat package.json
-
name
:
Login to DockerHub
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Build and push Docker images
uses
:
docker/build-push-action@v
2.9
.0
uses
:
docker/build-push-action@v
4.0
.0
with
:
context
:
.
file
:
dev/build/Dockerfile
...
...
@@ -78,7 +78,7 @@ jobs:
find _dist/wiki/ -printf "%P\n" | tar -czf wiki-js.tar.gz --no-recursion -C _dist/wiki/ -T -
-
name
:
Upload a Build Artifact
uses
:
actions/upload-artifact@v
2.3.1
uses
:
actions/upload-artifact@v
3.1.2
with
:
name
:
drop
path
:
wiki-js.tar.gz
...
...
@@ -93,7 +93,7 @@ jobs:
dbtype
:
[
postgres
,
mysql
,
mariadb
,
mssql
,
sqlite
]
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set Test Variables
run
:
|
...
...
@@ -130,7 +130,7 @@ jobs:
docker
:
armv7
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set Version Variables
run
:
|
...
...
@@ -143,19 +143,19 @@ jobs:
fi
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v
1
uses
:
docker/setup-qemu-action@v
2.1.0
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v
1
uses
:
docker/setup-buildx-action@v
2.4.0
-
name
:
Login to DockerHub
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
...
...
@@ -173,7 +173,7 @@ jobs:
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@v
2.9
.0
uses
:
docker/build-push-action@v
4.0
.0
with
:
context
:
.
file
:
dev/build-arm/Dockerfile
...
...
@@ -191,12 +191,12 @@ jobs:
steps
:
-
name
:
Setup Node.js environment
uses
:
actions/setup-node@v
2.5.1
uses
:
actions/setup-node@v
3.6.0
with
:
node-version
:
16.x
-
name
:
Download a Build Artifact
uses
:
actions/download-artifact@v
2.1.0
uses
:
actions/download-artifact@v
3.0.2
with
:
name
:
drop
path
:
drop
...
...
@@ -214,7 +214,7 @@ jobs:
run
:
tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .
-
name
:
Upload a Build Artifact
uses
:
actions/upload-artifact@v
2.3.1
uses
:
actions/upload-artifact@v
3.1.2
with
:
name
:
drop-win
path
:
wiki-js-windows.tar.gz
...
...
@@ -234,13 +234,13 @@ jobs:
echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV
-
name
:
Login to DockerHub
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
...
...
@@ -275,13 +275,13 @@ jobs:
echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV
-
name
:
Login to DockerHub
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v
1
uses
:
docker/login-action@v
2.1.0
with
:
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
...
...
@@ -321,13 +321,13 @@ jobs:
docker manifest push -p ghcr.io/requarks/wiki:latest
-
name
:
Download Linux Build
uses
:
actions/download-artifact@v
2.1.0
uses
:
actions/download-artifact@v
3.0.2
with
:
name
:
drop
path
:
drop
-
name
:
Download Windows Build
uses
:
actions/download-artifact@v
2.1.0
uses
:
actions/download-artifact@v
3.0.2
with
:
name
:
drop-win
path
:
drop-win
...
...
@@ -384,7 +384,7 @@ jobs:
needs
:
[
release
]
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set Version Variables
run
:
|
...
...
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