Skip to content

Commit 1f2f1b6

Browse files
committed
chore: working on docker release
1 parent d295433 commit 1f2f1b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Docker on Tag
22
on:
33
push:
4-
paths-ignore:
5-
- 'cross/**'
64
tags:
7-
- "v*.*.*"
5+
- "v*"
86
jobs:
97
build:
108
runs-on: ubuntu-latest
@@ -32,8 +30,10 @@ jobs:
3230
use-cross: true
3331
command: build
3432
args: --target x86_64-unknown-linux-musl --release
33+
- run: echo ::set-output name=tag::${${{ github.ref }}#refs/*/}
34+
id: tag
3535
- uses: docker/build-push-action@v2
3636
with:
3737
push: true
38-
tags: ghcr.io/conblem/acme-dns-latest:${{ github.ref }}
38+
tags: ghcr.io/conblem/acme-dns-latest:${{ steps.tag.outputs.tag }}
3939
context: ./

0 commit comments

Comments
 (0)