File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Image CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ tags : [ 'v*.*.*' ]
7
+ workflow_run :
8
+ workflows : ["Testing RSSH"]
9
+ types : [completed]
10
+ conclusion : success
11
+
12
+ jobs :
13
+ build :
14
+ needs : e2e_tests
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ fail-fast : true
18
+ matrix :
19
+ platform :
20
+ - linux/amd64
21
+ - linux/arm64
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ with :
26
+ fetch-depth : 0
27
+ fetch-tags : true
28
+
29
+ - name : Set up QEMU
30
+ uses : docker/setup-qemu-action@v3
31
+
32
+ - name : Set up Docker Buildx
33
+ uses : docker/setup-buildx-action@v3
34
+
35
+ - name : Login to DockerHub
36
+ uses : docker/login-action@v3
37
+ with :
38
+ username : reversessh
39
+ password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
40
+
41
+ - name : Build and push
42
+ uses : docker/build-push-action@v5
43
+ with :
44
+ context : .
45
+ platforms : linux/amd64,linux/arm64
46
+ tags : reversessh/reverse_ssh:latest
47
+ push : true
Original file line number Diff line number Diff line change
1
+ name : Testing RSSH
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main", "unstable" ]
6
+
7
+ jobs :
8
+ e2e_tests :
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ fail-fast : true
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+ fetch-tags : true
17
+
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v4
20
+ with :
21
+ go-version : " 1.23.1"
22
+
23
+ - name : Update repos
24
+ run : sudo apt update
25
+
26
+ - name : Install mingw for windows dll tests
27
+ run : sudo apt install -y gcc-mingw-w64
28
+
29
+ - name : Make integration tests
30
+ run : yes | make e2e
31
+
32
+ - name : Run tests
33
+ working-directory : e2e
34
+ run : ./e2e
You can’t perform that action at this time.
0 commit comments