Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
Gzz Images
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Gzz Images
Commits
a1ec3d22
Commit
a1ec3d22
authored
Sep 12, 2020
by
Li Mi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加Dnsmasq
parent
6b0cd172
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
.github/workflows/dnsmasq.yml
.github/workflows/dnsmasq.yml
+45
-0
dnsmasq/Dockerfile
dnsmasq/Dockerfile
+3
-0
dnsmasq/dnsmasq.yml
dnsmasq/dnsmasq.yml
+1
-0
No files found.
.github/workflows/dnsmasq.yml
0 → 100644
View file @
a1ec3d22
name
:
构建 dnsmasq 镜像
# 触发条件:在 push 到 master 分支后
on
:
push
:
paths
:
-
"
dnsmasq/**"
env
:
TKE_USERNAME
:
${{ secrets.TKE_USERNAME }}
TKE_PASSWORD
:
${{ secrets.TKE_PASSWORD }}
ACR_USERNAME
:
${{ secrets.ACR_USERNAME }}
ACR_PASSWORD
:
${{ secrets.ACR_PASSWORD }}
HUB_USERNAME
:
${{ secrets.HUB_USERNAME }}
HUB_PASSWORD
:
${{ secrets.HUB_PASSWORD }}
# 任务
jobs
:
build-dnsmasq
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
构建 dnsmasq 镜像
uses
:
docker/build-push-action@v1
with
:
username
:
${{ secrets.HUB_USERNAME }}
password
:
${{ secrets.HUB_PASSWORD }}
path
:
./dnsmasq
dockerfile
:
./dnsmasq/Dockerfile
registry
:
docker.io
repository
:
gzzchh/stacks
tags
:
dnsmasq
sync-back
:
runs-on
:
ubuntu-latest
needs
:
-
build-dnsmasq
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 3 --auth ./sync-tool/auth.json --images ./dnsmasq/dnsmasq.yml
dnsmasq/Dockerfile
0 → 100644
View file @
a1ec3d22
FROM
alpine
RUN
apk
--no-cache
add dnsmasq
ENTRYPOINT
["dnsmasq", "-k"]
\ No newline at end of file
dnsmasq/dnsmasq.yml
0 → 100644
View file @
a1ec3d22
gzzchh/stacks:dnsmasq: ccr.ccs.tencentyun.com/gzzchh/stacks:smartdns
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