Skip to content

Commit 72c466f

Browse files
committed
Add JustRunMy.App image deploy workflow
1 parent f269d5b commit 72c466f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
29+
context: .
30+
push: true
31+
tags: ${{ secrets.JUSTRUNMY_IMAGE }}

0 commit comments

Comments
 (0)