-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.18 KB
/
DockerBuild.yml
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
38
39
40
41
42
43
44
name: Docker
on:
workflow_dispatch: {}
# schedule:
# - cron: "0 16 * * 1"
push:
branches:
- main
paths:
- Dockerfile
- crowdin_script.sh
- crowdin-action/**
pull_request:
paths:
- Dockerfile
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docker:
name: docker build
uses: Docker-Collection/reusable-workflows/.github/workflows/docker-build.yml@main
with:
docker_name: "ghcr.io/docker-collection/crowdin-cli"
docker_label_author: "Efina"
docker_label_title: "Docker Crowdin CLI"
docker_label_description: "Crowdin CLI, MultiArch"
version_detecter: true
version_detecter_var: "CROWDIN_VERSION="
docker_action:
name: docker build (action)
needs: [ "docker" ]
uses: Docker-Collection/reusable-workflows/.github/workflows/docker-build.yml@main
with:
docker_name: "ghcr.io/docker-collection/crowdin-action"
context: "crowdin-action/"
dockerfile: "crowdin-action/Dockerfile"
docker_label_author: "Efina"
docker_label_title: "Docker Crowdin CLI Action"
docker_label_description: "Crowdin CLI, MultiArch"