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 bc7acc2 commit 8e7cb08Copy full SHA for 8e7cb08
.github/workflows/docker-image.yml
@@ -0,0 +1,38 @@
1
+name: Build docker images
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build-and-push-image:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ #build service
18
+ - name: Build servuce
19
+ run: |
20
+ npm install
21
+ npm run build
22
+ working-directory: ./service
23
24
+ #publish images
25
+ - name: Log in to the Container registry
26
+ uses: docker/login-action@v2
27
+ with:
28
+ registry: ghcr.io
29
+ username: ${{ github.actor }}
30
+ password: ${{ secrets.GITHUB_TOKEN }}
31
32
+ - name: Build and push oidp image
33
+ uses: docker/build-push-action@v4
34
35
+ context: ./service
36
+ platforms: linux/amd64,linux/arm64
37
+ push: true
38
+ tags: ghcr.io/aczwink/opendistributedfilestorage:latest
0 commit comments