Skip to content

Commit 9853034

Browse files
committed
- added docker-publish.yml
1 parent bd755ae commit 9853034

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "develop" ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
name: Checkout
13+
uses: actions/checkout@v3
14+
-
15+
name: Build Frontend
16+
run: |
17+
chmod +x scripts/ci/frontend-build
18+
./scripts/ci/frontend-build
19+
-
20+
name: Set up QEMU
21+
uses: docker/setup-qemu-action@v2
22+
-
23+
name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v2
25+
-
26+
name: Login to Docker Hub
27+
uses: docker/login-action@v2
28+
with:
29+
username: ${{ secrets.DOCKERHUB_USERNAME }}
30+
password: ${{ secrets.DOCKERHUB_TOKEN }}
31+
-
32+
name: Build and push
33+
uses: docker/build-push-action@v4
34+
with:
35+
context: .
36+
file: ./docker/Dockerfile
37+
platforms: linux/amd64,linux/arm64,linux/arm/v7
38+
push: true
39+
tags: zuptalo/nginx-proxy-manager:develop

0 commit comments

Comments
 (0)