forked from actions-hub/kubectl
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 921 Bytes
/
image.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
name: Release Images
on:
schedule:
- cron: '0 8 * * *' # everyday at 8am UTC
release:
types: [ published ]
push:
branches:
- main
- master
tags:
- 'v*'
workflow_dispatch:
jobs:
registry:
name: TCR
uses: XNXKTech/workflows/.github/workflows/docker-build.yml@main
with:
registry: 'registry.xnxktech.net'
platforms: linux/amd64,linux/arm64
secrets:
USERNAME: ${{ secrets.REGISTRY_USER }}
PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
dockerhub:
name: DockerHub
uses: XNXKTech/workflows/.github/workflows/docker-build.yml@main
with:
platforms: linux/amd64,linux/arm64
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}