Test other syntax for build_args

This commit is contained in:
PapaTutuWawa 2023-10-07 23:02:33 +02:00
parent f4a8101f77
commit 5f8eeb97d4
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ steps:
platforms: linux/arm64/v8 platforms: linux/arm64/v8
tag: *flutter_version tag: *flutter_version
build_args: build_args:
FLUTTER_VERSION: *flutter_version - FLUTTER_VERSION=3.13.6
auto_tag: true auto_tag: true
username: username:
from_secret: repository_username from_secret: repository_username

View File

@ -3,6 +3,8 @@ FROM debian:bookworm-20230919-slim
# The version of Flutter to use # The version of Flutter to use
ARG FLUTTER_VERSION ARG FLUTTER_VERSION
RUN echo $FLUTTER_VERSION
# Set environment variables # Set environment variables
ENV PATH="$PATH:/opt/flutter/bin" ENV PATH="$PATH:/opt/flutter/bin"