We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57833cc commit 63f3b64Copy full SHA for 63f3b64
.github/workflows/main.yml
@@ -0,0 +1,31 @@
1
+name: docker build and publish
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+jobs:
7
+ build-and-publish:
8
+ name: build and publish
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout Code
12
+ uses: actions/checkout@v2
13
+
14
+ - uses: webfactory/[email protected]
15
+ with:
16
+ ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
17
18
+ - name: Install Ruby
19
+ uses: ruby/setup-ruby@v1
20
21
+ ruby-version: '3.4.1'
22
+ bundler-cache: true
23
24
+ - name: Install Kamal
25
+ run: gem install kamal
26
27
+ - name: Deploy with Kamal
28
+ env:
29
+ KAMAL_REGISTRY_PASSWORD: ${{ secrets.KAMAL_REGISTRY_PASSWORD }}
30
+ run: |
31
+ kamal deploy
.github/workflows/push.yml
0 commit comments