-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (33 loc) · 863 Bytes
/
DockerBuild.yml
File metadata and controls
37 lines (33 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Docker
on:
workflow_dispatch: {}
# schedule:
# - cron: "0 16 * * 1"
push:
branches:
- main
paths:
- Dockerfile
- entrypoint.sh
pull_request:
paths:
- Dockerfile
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
docker:
name: docker build
uses: Docker-Collection/reusable-workflows/.github/workflows/docker-build.yml@main
with:
docker_name: "ghcr.io/docker-collection/cloudflared"
docker_label_author: "Efina"
docker_label_title: "Docker Cloudflared"
docker_label_description: "A simple version using environment control tunnel"
version_detecter: true
version_detecter_var: "CLOUDFLARED_VERSION="
special_build: true
special_build_args: "BUILDTIME"