-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.6 KB
/
deploy.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
45
46
47
48
49
50
51
52
53
54
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
name: Build and push Docker images to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/[email protected]
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push Nginx reverse proxy Docker image to GitHub Packages
uses: docker/[email protected]
with:
tags: ghcr.io/jftung/nginx-reverse-proxy:latest
file: ./nginx/reverse-proxy/Dockerfile
push: true
- name: Build and push custom Certbot Docker image to GitHub Packages
uses: docker/[email protected]
with:
tags: ghcr.io/jftung/certbot-beale:latest
file: ./certbot/Dockerfile
push: true
- name: Build and push Nginx Beale website Docker image to GitHub Packages
uses: docker/[email protected]
with:
tags: ghcr.io/jftung/nginx-beale:latest
file: ./nginx/beale/Dockerfile
push: true
- name: Build and push custom Jenkins Docker image to GitHub Packages
uses: docker/[email protected]
with:
tags: ghcr.io/jftung/jenkins-host:latest
file: ./jenkins/Dockerfile
push: true