1 parent f269d5b commit 72c466fCopy full SHA for 72c466f
1 file changed
.github/workflows/deploy-justrunmy.yml
@@ -0,0 +1,31 @@
1
+name: Deploy to JustRunMy.App
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ build-and-push:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Check out repository
17
+ uses: actions/checkout@v5
18
19
+ - name: Log in to JustRunMy.App registry
20
+ uses: docker/login-action@v3
21
+ with:
22
+ registry: ${{ secrets.JUSTRUNMY_REGISTRY }}
23
+ username: ${{ secrets.JUSTRUNMY_REGISTRY_USERNAME }}
24
+ password: ${{ secrets.JUSTRUNMY_REGISTRY_PASSWORD }}
25
26
+ - name: Build and push Docker image
27
+ uses: docker/build-push-action@v6
28
29
+ context: .
30
+ push: true
31
+ tags: ${{ secrets.JUSTRUNMY_IMAGE }}
0 commit comments