mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
chore: rename android test to bundle test
This commit is contained in:
@@ -126,15 +126,15 @@ jobs:
|
||||
image: ${{ fromJSON(steps.metadata.outputs.json).tags[0] }}
|
||||
config: test/android_sdk_structure.yml
|
||||
|
||||
# - name: Test Android build
|
||||
# - name: Test Android bundle
|
||||
# uses: docker/build-push-action@v4
|
||||
# with:
|
||||
# load: true
|
||||
# cache-from: ${{ env.CACHE_REPOSITORY_PATH }}:cache-test
|
||||
# cache-to: ${{ env.CACHE_REPOSITORY_PATH }}:cache-test
|
||||
# cache-from: ${{ env.CACHE_REPOSITORY_PATH }}:cache-bundle
|
||||
# cache-to: ${{ env.CACHE_REPOSITORY_PATH }}:cache-bundle
|
||||
# tags: ${{ steps.metadata.outputs.tags }}
|
||||
# labels: ${{ steps.metadata.outputs.labels }}
|
||||
# target: android
|
||||
# target: bundle-test
|
||||
# build-args: |
|
||||
# flutter_version=${{ env.FLUTTER_VERSION }}
|
||||
# android_build_tools_version=${{ env.ANDROID_BUILD_TOOLS_VERSION }}
|
||||
|
||||
+1
-1
@@ -188,7 +188,7 @@ RUN mkdir -p "$ANDROID_HOME" \
|
||||
&& cd ../.. \
|
||||
&& rm -r build_app
|
||||
|
||||
FROM android as android-test
|
||||
FROM android as bundle-test
|
||||
|
||||
USER flutter:flutter
|
||||
WORKDIR "$HOME"
|
||||
|
||||
+2
-2
@@ -30,10 +30,10 @@ services:
|
||||
environment:
|
||||
ENABLE_ANALYTICS: $ENABLE_ANALYTICS
|
||||
|
||||
android-test:
|
||||
bundle-test:
|
||||
build:
|
||||
context: .
|
||||
target: android-test
|
||||
target: bundle-test
|
||||
args:
|
||||
flutter_version: $FLUTTER_VERSION
|
||||
android_build_tools_version: $ANDROID_BUILD_TOOLS_VERSION
|
||||
|
||||
Reference in New Issue
Block a user