File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : docker
2
+
3
+ on :
4
+ release :
5
+ types : [ published ]
6
+
7
+ jobs :
8
+ build-push-opencode :
9
+ runs-on : ubuntu-latest
10
+ environment :
11
+ name : opencode.de
12
+ url : https://gitlab.opencode.de/groups/dataport/terminfinder/-/container_registries
13
+ permissions :
14
+ packages : write
15
+ contents : read
16
+ attestations : write
17
+ id-token : write
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - uses : docker/login-action@v3
21
+ with :
22
+ registry : registry.opencode.de
23
+ username : access-token
24
+ password : ${{ secrets.OPENCODE_DOCKER_ACCESS_TOKEN }}
25
+
26
+ with :
27
+ context : .
28
+ push : true
29
+ tags : registry.opencode.de/dataport/terminfinder/terminfinder-frontend:${{ github.ref }}
Original file line number Diff line number Diff line change 1
- name : Node. js
1
+ name : node- js
2
2
3
3
on :
4
4
push :
7
7
branches : [ "main" ]
8
8
9
9
jobs :
10
- lint_audit :
10
+ lint-audit :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v3
38
38
with :
39
39
start : npm run http-server
40
40
command : npm run ci-cypress
41
+
42
+ create-release :
43
+ runs-on : ubuntu-latest
44
+ if : github.ref_name == 'main'
45
+ needs : [ lint-audit, e2e ]
46
+ steps :
47
+ - uses : actions/checkout@v4
48
+ -
uses :
cperezabo/[email protected]
49
+ - run : gh api --method POST /repos/dataport/terminfinder-frontend/releases -f "tag_name=$(git mkver next --format '{Docker}')" -F "generate_release_notes=true"
50
+ env :
51
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments