Commit f7924d0 1 parent d176fd5 commit f7924d0 Copy full SHA for f7924d0
File tree 4 files changed +71
-4
lines changed
4 files changed +71
-4
lines changed Original file line number Diff line number Diff line change
1
+ # We aren't actually hosting this, actionlint
2
+ # just doesn't have the arm runners listed
3
+ # in their defaults
4
+ self-hosted-runner :
5
+ labels :
6
+ - ubuntu-24.04-arm
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
10
10
contents : read
11
11
12
12
jobs :
13
- docker-build-container :
13
+ docker-build-amd- container :
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
@@ -20,11 +20,30 @@ jobs:
20
20
echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT"
21
21
shell : bash
22
22
23
- - name : Build docker image
23
+ - name : Build docker image amd
24
24
uses : senzing-factory/github-action-docker-buildx-build@v1
25
25
with :
26
26
build-options : " -q"
27
27
image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
28
28
password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
29
29
platforms : linux/amd64
30
30
username : ${{ secrets.DOCKERHUB_USERNAME }}
31
+
32
+ docker-build-arm-container :
33
+ runs-on : ubuntu-24.04-arm
34
+
35
+ steps :
36
+ - name : Get repository name
37
+ id : repo-basename
38
+ run : |
39
+ echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT"
40
+ shell : bash
41
+
42
+ - name : Build docker image arm
43
+ uses : senzing-factory/github-action-docker-buildx-build@v1
44
+ with :
45
+ build-options : " -q"
46
+ image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
47
+ password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
48
+ platforms : linux/arm64
49
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ permissions:
7
7
contents : read
8
8
9
9
jobs :
10
- docker-push-containers -to-dockerhub-manual :
10
+ docker-push-amd-container -to-dockerhub-manual :
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
24
24
image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
25
25
image-tag : latest
26
26
password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
27
+ platforms : linux/amd64
28
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
29
+
30
+ docker-push-arm-container-to-dockerhub-manual :
31
+ runs-on : ubuntu-24.04-arm
32
+
33
+ steps :
34
+ - name : Get repo name
35
+ id : repo-basename
36
+ run : |
37
+ echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT"
38
+ shell : bash
39
+
40
+ - name : Build docker image and push to DockerHub
41
+ uses : senzing-factory/github-action-docker-buildx-build@v1
42
+ with :
43
+ build-options : " -q --push"
44
+ image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
45
+ image-tag : latest
46
+ password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
47
+ platforms : linux/arm64
27
48
username : ${{ secrets.DOCKERHUB_USERNAME }}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
9
9
contents : read
10
10
11
11
jobs :
12
- docker-push-containers -to-dockerhub :
12
+ docker-push-amd-container -to-dockerhub :
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
26
26
image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
27
27
image-tag : ${{ github.ref_name }}
28
28
password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
29
+ platforms : linux/amd64
30
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
31
+
32
+ docker-push-arm-container-to-dockerhub :
33
+ runs-on : ubuntu-24.04-arm
34
+
35
+ steps :
36
+ - name : Get repository name
37
+ id : repo-basename
38
+ run : |
39
+ echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT"
40
+ shell : bash
41
+
42
+ - name : Build docker image and push to DockerHub
43
+ uses : senzing-factory/github-action-docker-buildx-build@v1
44
+ with :
45
+ build-options : " -q --push"
46
+ image-repository : senzing/${{ steps.repo-basename.outputs.repo }}
47
+ image-tag : ${{ github.ref_name }}
48
+ password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
49
+ platforms : linux/arm64
29
50
username : ${{ secrets.DOCKERHUB_USERNAME }}
You can’t perform that action at this time.
0 commit comments