Added arm64 build
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -41,9 +41,11 @@ jobs:
|
|||||||
docker login -u "${{github.repository_owner}}" -p "${{secrets.DEPLOY_TOKEN}}" "$REGISTRY"
|
docker login -u "${{github.repository_owner}}" -p "${{secrets.DEPLOY_TOKEN}}" "$REGISTRY"
|
||||||
docker login -u "${{secrets.DOCKER_HUB_USER}}" -p "${{secrets.DOCKER_HUB_TOKEN}}" docker.io
|
docker login -u "${{secrets.DOCKER_HUB_USER}}" -p "${{secrets.DOCKER_HUB_TOKEN}}" docker.io
|
||||||
|
|
||||||
|
docker buildx build --platform linux/arm64 -t "$REGISTRY/${{github.repository}}:arm64-latest" --push .
|
||||||
docker tag "$REGISTRY/${{github.repository}}:${{github.ref_name}}" "$REGISTRY/${{github.repository}}:latest"
|
docker tag "$REGISTRY/${{github.repository}}:${{github.ref_name}}" "$REGISTRY/${{github.repository}}:latest"
|
||||||
docker push "$REGISTRY/${{github.repository}}:latest"
|
docker push "$REGISTRY/${{github.repository}}:latest"
|
||||||
|
|
||||||
|
docker buildx build --platform linux/arm64 -t "docker.io/ztimson/kiwixm:arm64-latest" --push .
|
||||||
docker tag "$REGISTRY/${{github.repository}}:${{github.ref_name}}" "docker.io/ztimson/kiwixm:latest"
|
docker tag "$REGISTRY/${{github.repository}}:${{github.ref_name}}" "docker.io/ztimson/kiwixm:latest"
|
||||||
docker push "docker.io/ztimson/kiwixm:latest"
|
docker push "docker.io/ztimson/kiwixm:latest"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user