Skip to content

Commit 9b05626

Browse files
committed
chore
1 parent c8e5196 commit 9b05626

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ version: 2
22
updates:
33
- package-ecosystem: "cargo"
44
directory: "/"
5+
target-branch: "dev"
56
schedule:
67
interval: "daily"
78
commit-message:
89
prefix: "chore"
910
include: "scope"
1011
- package-ecosystem: "npm"
1112
directory: "/"
13+
target-branch: "dev"
1214
schedule:
1315
interval: "daily"
1416
commit-message:

.github/workflows/docker.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Docker on Tag
2+
on:
3+
push:
4+
paths-ignore:
5+
- 'cross/**'
6+
tags:
7+
- "**"
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: docker/setup-buildx-action@v1
14+
- uses: docker/login-action@v1
15+
with:
16+
registry: ghcr.io
17+
username: ${{ secrets.DOCKER_USERNAME }}
18+
password: ${{ secrets.DOCKER_PASSWORD }}
19+
- run: docker pull ghcr.io/conblem/musl-openssl
20+
- uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
- uses: actions/cache@v2
24+
with:
25+
path: |
26+
~/.cargo/registry
27+
~/.cargo/git
28+
target
29+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
30+
- uses: actions-rs/cargo@v1
31+
with:
32+
use-cross: true
33+
command: build
34+
args: --target x86_64-unknown-linux-musl --release
35+
- uses: docker/build-push-action@v2
36+
with:
37+
push: true
38+
tags: ghcr.io/conblem/acme-dns-latest:${{ github.ref }}
39+
context: ./

0 commit comments

Comments
 (0)