We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a19b6f commit b9680e3Copy full SHA for b9680e3
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,31 @@
1
+name: Production Deploy
2
+on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: Login to Docker Hub
16
+ uses: docker/login-action@v3
17
+ with:
18
+ registry: ${{ secrets.REGISTRY_URL }}
19
+ username: ${{ secrets.REGISTRY_USERNAME }}
20
+ password: ${{ secrets.REGISTRY_TOKEN }}
21
22
+ - name: Set up Docker Buildx
23
+ uses: docker/setup-buildx-action@v3
24
25
+ - name: Build and push
26
+ uses: docker/build-push-action@v6
27
28
+ context: .
29
+ push: true
30
+ tags: ${{ secrets.REGISTRY_URL }}/docker-phpbb
31
0 commit comments