Compare commits

...

10 Commits

Author SHA1 Message Date
d2676945b2 Effectivly disable the pipeline 2025-04-21 15:49:09 +02:00
0e646f2311 Update docker image tag
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 4m7s
2025-04-18 11:16:03 +02:00
f416218600 Fix image tag
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 4m19s
2025-02-27 18:45:14 +01:00
ThompsonNye
d392edb660 Only schedule build on fridays
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 4m10s
2024-09-07 12:09:39 +02:00
ThompsonNye
c0377f129a Restore normal cron schedule
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 3m16s
2024-09-06 19:59:55 +02:00
ThompsonNye
80a3efe9be Test cron
Some checks are pending
Build Flutter SDK Docker Image / build (push) Has started running
2024-09-06 19:58:30 +02:00
ThompsonNye
fb56627568 Test cron
Some checks are pending
Build Flutter SDK Docker Image / build (push) Has started running
2024-09-06 19:55:20 +02:00
ThompsonNye
6221260c9a Test cron
Some checks failed
Build Flutter SDK Docker Image / build (push) Has been cancelled
2024-09-06 19:54:25 +02:00
ThompsonNye
dd92c503fa Change to daily and move back because it runs for UTC
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 3m26s
2024-09-06 18:54:36 +02:00
ThompsonNye
71b5f60507 Remove changing user
All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 3m23s
2024-09-05 14:45:08 +02:00
2 changed files with 8 additions and 18 deletions

View File

@@ -1,11 +1,14 @@
name: Build Flutter SDK Docker Image name: Build Flutter SDK Docker Image
on: on:
schedule:
- cron: '0 4 * * 0'
push: push:
branches: branches:
- main - some-branch-name-which-should-never-trigger-the-build
workflow_dispatch: # schedule:
# - cron: '0 2 * * FRI'
# push:
# branches:
# - main
# workflow_dispatch:
jobs: jobs:
build: build:
@@ -38,5 +41,5 @@ jobs:
- name: Build and push, channel 'stable' - name: Build and push, channel 'stable'
run: | run: |
export CHANNEL=stable export CHANNEL=stable
export IMAGE_WITH_TAG=${{ vars.DOCKER_REGISTRY_HOST }}/${{ vars.DOCKER_REPO_AND_IMAGE }}:web.$CHANNEL export IMAGE_WITH_TAG=${{ vars.DOCKER_REGISTRY_HOST }}/${{ vars.DOCKER_REPO_AND_IMAGE }}:$CHANNEL
docker buildx build . --build-arg CHANNEL=$CHANNEL -t $IMAGE_WITH_TAG --no-cache --push docker buildx build . --build-arg CHANNEL=$CHANNEL -t $IMAGE_WITH_TAG --no-cache --push

View File

@@ -21,16 +21,3 @@ RUN flutter config --enable-web
RUN flutter upgrade RUN flutter upgrade
RUN flutter precache RUN flutter precache
RUN flutter --version RUN flutter --version
# Set user and group
ARG user=builduser
ARG group=builduser
ARG uid=1000
ARG gid=1000
RUN groupadd -g ${gid} ${group}
RUN useradd -u ${uid} -g ${group} -s /bin/sh -m ${user}
RUN chown -R ${uid}:${gid} ${FLUTTER_ROOT}
# Switch to user
USER ${uid}:${gid}