init docker buildx arm64 & amd64 build

This commit is contained in:
boxi committed 2026-01-06 21:12:04 +01:00
1 parent 8217cf9985
commit c504c64d0a
1 file changed
+8 -2
+8 -2
View File
@@ -28,8 +28,14 @@ jobs:
run: |
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
# Build the image with the commit hash tag
docker build -t eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} .
export DOCKER_CLI_EXPERIMENTAL=enabled;
docker buildx create --name boxitapache || true 2>/dev/null;
docker buildx use boxitapache;
docker buildx build \
--platform linux/arm64,linux/amd64 \
--tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} .
# Tag the same image as "latest"
docker tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} eiche:3000/${REPOSITORY_LC}:latest
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.