Skip to content

Commit 083c71a

Browse files
committed
chore: plattforms
1 parent bde42d9 commit 083c71a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ jobs:
7878
tag_suffix: ""
7979
version: ${{ needs.release.outputs.version }}
8080
version_tag: ${{ needs.release.outputs.version_tag }}
81+
platforms: "linux/amd64,linux/arm64"
8182
secrets:
8283
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
8384
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
8485
DRUID_ARTIFACTS_REGISTRY_USERNAME: ${{ vars.DRUID_ARTIFACTS_REGISTRY_USERNAME }}
8586
DRUID_ARTIFACTS_REGISTRY_TOKEN: ${{ secrets.DRUID_ARTIFACTS_REGISTRY_TOKEN }}
86-
8787
docker-steamcmd:
8888
needs: [release, docker-base]
8989
if: ${{ needs.release.outputs.version != '' }}
@@ -98,7 +98,6 @@ jobs:
9898
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
9999
DRUID_ARTIFACTS_REGISTRY_USERNAME: ${{ vars.DRUID_ARTIFACTS_REGISTRY_USERNAME }}
100100
DRUID_ARTIFACTS_REGISTRY_TOKEN: ${{ secrets.DRUID_ARTIFACTS_REGISTRY_TOKEN }}
101-
102101
docker-nix:
103102
needs: [release, docker-base]
104103
if: ${{ needs.release.outputs.version != '' }}
@@ -110,12 +109,12 @@ jobs:
110109
version_tag: ${{ needs.release.outputs.version_tag }}
111110
base_tag_suffix: ""
112111
is_nix: true
112+
platforms: "linux/amd64,linux/arm64"
113113
secrets:
114114
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
115115
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
116116
DRUID_ARTIFACTS_REGISTRY_USERNAME: ${{ vars.DRUID_ARTIFACTS_REGISTRY_USERNAME }}
117117
DRUID_ARTIFACTS_REGISTRY_TOKEN: ${{ secrets.DRUID_ARTIFACTS_REGISTRY_TOKEN }}
118-
119118
docker-nix-steamcmd:
120119
needs: [release, docker-steamcmd]
121120
if: ${{ needs.release.outputs.version != '' }}

.github/workflows/docker-build-reusable.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
required: false
2323
type: boolean
2424
default: false
25+
platforms:
26+
required: false
27+
type: string
28+
default: "linux/amd64"
2529
secrets:
2630
DOCKERHUB_USERNAME:
2731
required: true
@@ -58,6 +62,7 @@ jobs:
5862
with:
5963
context: .
6064
file: ${{ inputs.dockerfile }}
65+
platforms: ${{ inputs.platforms }}
6166
tags: |
6267
highcard/druid:latest${{ inputs.tag_suffix }}
6368
highcard/druid:stable${{ inputs.tag_suffix }}

0 commit comments

Comments
 (0)