forked from sljeff/caddy-tlsredis-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.08 KB
/
docker-build-deploy.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
39
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/docker-tpl.yaml@main
with:
images: flosspicks/xlog-caddy
context: .
dockerfile: ./Dockerfile
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
deploy-dev:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
with:
images: flosspicks/xlog-caddy
tag: sha-${{ github.sha }}
cluster: dev
namespace: crossbell
releaseName: xlog-caddy
revision: main
dir: deploy/dev
secrets:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
# deploy-prod:
# uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
# with:
# images: flosspicks/xlog-caddy
# tag: latest
# cluster: prod
# namespace: crossbell
# releaseName: xlog-caddy
# revision: main
# dir: deploy/prod
# secrets:
# GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}