mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-10 17:07:30 +00:00
cd: don't know what?
This commit is contained in:
parent
1b1db3a0ff
commit
596a4b5a02
3
.github/Dockerfile
vendored
3
.github/Dockerfile
vendored
@ -12,11 +12,10 @@ RUN chown -R $(whoami) /app
|
|||||||
|
|
||||||
RUN flutter pub get
|
RUN flutter pub get
|
||||||
|
|
||||||
RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
|
|
||||||
|
|
||||||
RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
|
RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
|
||||||
flutter_distributor package --platform=linux --targets=deb --skip-clean
|
flutter_distributor package --platform=linux --targets=deb --skip-clean
|
||||||
|
|
||||||
|
RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
|
||||||
|
|
||||||
RUN mv build/spotube-linux-*-aarch64.tar.xz dist/ &&\
|
RUN mv build/spotube-linux-*-aarch64.tar.xz dist/ &&\
|
||||||
mv dist/**/spotube-*-linux.deb dist/Spotube-linux-aarch64.deb
|
mv dist/**/spotube-*-linux.deb dist/Spotube-linux-aarch64.deb
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:args/command_runner.dart';
|
import 'package:args/command_runner.dart';
|
||||||
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import '../../core/env.dart';
|
import '../../core/env.dart';
|
||||||
import 'common.dart';
|
import 'common.dart';
|
||||||
@ -18,7 +19,7 @@ class LinuxArmBuildCommand extends Command with BuildCommandCommonSteps {
|
|||||||
|
|
||||||
await shell.run(
|
await shell.run(
|
||||||
"docker buildx build --platform=linux/arm64 "
|
"docker buildx build --platform=linux/arm64 "
|
||||||
"-f .github/Dockerfile . "
|
"-f ${join(cwd.path, ".github", "Dockerfile")} ${cwd.path} "
|
||||||
"--build-arg FLUTTER_VERSION=${CliEnv.flutterVersion} "
|
"--build-arg FLUTTER_VERSION=${CliEnv.flutterVersion} "
|
||||||
"--build-arg BUILD_VERSION=${CliEnv.channel == BuildChannel.nightly ? "nightly" : versionWithoutBuildNumber} "
|
"--build-arg BUILD_VERSION=${CliEnv.channel == BuildChannel.nightly ? "nightly" : versionWithoutBuildNumber} "
|
||||||
"-t krtirtho/spotube_linux_arm:latest "
|
"-t krtirtho/spotube_linux_arm:latest "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user