Skip to content

Commit 513cbf6

Browse files
LizardByte-botReenigneArcher
authored andcommitted
chore: update global workflows
1 parent 18f447c commit 513cbf6

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/_docker.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# This workflow is centrally managed in https://github.com/LizardByte/.github/
3+
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
4+
# the above-mentioned repo.
5+
6+
name: Docker
7+
permissions:
8+
contents: write
9+
packages: write
10+
11+
on:
12+
pull_request:
13+
branches:
14+
- master
15+
types:
16+
- opened
17+
- synchronize
18+
- reopened
19+
push:
20+
branches:
21+
- master
22+
workflow_dispatch:
23+
24+
concurrency:
25+
group: "${{ github.workflow }}-${{ github.ref }}"
26+
cancel-in-progress: true
27+
28+
jobs:
29+
call-docker:
30+
name: Docker
31+
uses: LizardByte/.github/.github/workflows/__call-docker.yml@master
32+
if: ${{ github.repository != 'LizardByte/.github' }}
33+
secrets:
34+
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
35+
DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
36+
GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }}
37+
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
38+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)