-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (33 loc) · 1.05 KB
/
traefik.yaml
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
name: traefik
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- master
- main
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 9 * * *'
jobs:
mirror:
runs-on: arvato
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Current Branch Name
id: get_branch
run: git rev-parse --abbrev-ref HEAD
- name: Mirror
uses: arvatoaws-labs/dockerhub-mirror@main
with:
src-username: ${{ secrets.DOCKERHUB_USERNAME }}
src-password: ${{ secrets.DOCKERHUB_TOKEN }}
### https://dev.to/willvelida/pushing-container-images-to-github-container-registry-with-github-actions-1m6b
### login via gh app not possible yet: https://github.com/orgs/community/discussions/24636
dst-username: ${{github.actor}}
dst-password: ${{ secrets.GITHUB_TOKEN }}
###
config: config/traefik.yaml
src-repo: library/traefik
dst-repo: arvatoaws-labs/traefik