Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
58f62f88
Unverified
Commit
58f62f88
authored
Jul 03, 2022
by
boojack
Committed by
GitHub
Jul 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add test github action (#102)
chore: test
parent
3a837203
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
1 deletion
+38
-1
build-and-push-test-image.yml
.github/workflows/build-and-push-test-image.yml
+37
-0
Dockerfile
Dockerfile
+1
-1
No files found.
.github/workflows/build-and-push-test-image.yml
0 → 100644
View file @
58f62f88
name
:
build-and-push-dev-image
on
:
push
:
branches
:
-
"
*"
jobs
:
build-and-push-dev-image
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
neosmemo
password
:
${{ secrets.DOCKER_NEOSMEMO_TOKEN }}
-
name
:
Set up Docker Buildx
id
:
buildx
uses
:
docker/setup-buildx-action@v2
with
:
install
:
true
-
name
:
Build and Push
id
:
docker_build
uses
:
docker/build-push-action@v3
with
:
context
:
./
file
:
./Dockerfile
platforms
:
linux/amd64,linux/arm64
push
:
true
tags
:
neosmemo/memos:dev
Dockerfile
View file @
58f62f88
# Build frontend dist.
FROM
node:16.15.
1-bullsey
e AS frontend
FROM
node:16.15.
0-alpin
e AS frontend
WORKDIR
/frontend-build
COPY
./web/ .
...
...
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