File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 9
9
IMAGE_NAME : ${{ github.repository }}
10
10
jobs :
11
11
docker :
12
- strategy :
13
- matrix :
14
- runner : [ubuntu-latest, ubuntu-latest-arm64]
15
- runs-on : ${{ matrix.runner }}
12
+ runs-on : ubuntu-latest
16
13
permissions :
17
14
contents : read
18
15
packages : write
19
16
steps :
20
17
- name : Checkout repository
21
18
uses : actions/checkout@v4
19
+
22
20
- name : Set up Docker Buildx
23
21
uses : docker/setup-buildx-action@v3
22
+
24
23
- name : Log in to GitHub Container Registry
25
24
uses : docker/login-action@v3
26
25
with :
27
26
registry : ${{ env.REGISTRY }}
28
27
username : ${{ github.actor }}
29
28
password : ${{ secrets.GITHUB_TOKEN }}
29
+
30
30
- name : Build and push hyperion-proxy
31
31
uses : docker/build-push-action@v5
32
32
with :
33
33
context : .
34
34
push : true
35
35
target : hyperion-proxy
36
+ platforms : linux/amd64,linux/arm64
36
37
tags : |
37
38
${{ env.REGISTRY }}/${{ github.repository }}/hyperion-proxy:latest
38
39
${{ env.REGISTRY }}/${{ github.repository }}/hyperion-proxy:${{ github.sha }}
39
40
cache-from : type=gha
40
41
cache-to : type=gha,mode=max
42
+
41
43
- name : Build and push tag
42
44
uses : docker/build-push-action@v5
43
45
with :
44
46
context : .
45
47
push : true
46
48
target : tag
49
+ platforms : linux/amd64,linux/arm64
47
50
tags : |
48
51
${{ env.REGISTRY }}/${{ github.repository }}/tag:latest
49
52
${{ env.REGISTRY }}/${{ github.repository }}/tag:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments