Compare commits

...

10 Commits

Author SHA1 Message Date
e4e34bce07 Update .gitea/workflows/build-docker-container.yml
All checks were successful
build-docker-imge / Build the docker container (pull_request) Successful in 9m10s
build-docker-imge / Build the docker container (push) Successful in 9m15s
2024-10-04 16:45:40 +00:00
bce0e1938d push to the correct container registry
Some checks failed
build-docker-imge / Build the docker container (push) Has been cancelled
build-docker-imge / Build the docker container (pull_request) Failing after 8m48s
2024-10-04 16:32:44 +00:00
79ad0c60de Fix pipeline 3
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 9m52s
build-docker-imge / Build the docker container (pull_request) Successful in 9m13s
2024-10-04 18:01:22 +02:00
40ebf800ba Fix pipelines 2
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 5m40s
build-docker-imge / Build the docker container (pull_request) Has been cancelled
2024-10-04 17:53:07 +02:00
92e50df61f Fix pipeline builds.
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 6m14s
build-docker-imge / Build the docker container (pull_request) Has been cancelled
2024-10-04 17:45:07 +02:00
f267ed7743 Fix: CI Pipeline
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 38s
build-docker-imge / Build the docker container (pull_request) Failing after 39s
2024-10-03 23:46:28 +02:00
f3e3975d99 remove debug steps
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 51s
build-docker-imge / Build the docker container (pull_request) Failing after 32s
2024-10-03 23:42:27 +02:00
c7010f4bd7 Debug Pipelines
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 7s
build-docker-imge / Build the docker container (pull_request) Failing after 7s
2024-10-03 23:39:43 +02:00
6b8e5835d4 Fix: Pipeline push permissions
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 43s
build-docker-imge / Build the docker container (pull_request) Failing after 41s
2024-10-03 23:26:35 +02:00
7376b29aa4 New: Automatic Docker container builds
Some checks failed
build-docker-imge / Build the docker container (push) Has been cancelled
build-docker-imge / Build the docker container (pull_request) Failing after 45s
2024-10-03 23:07:41 +02:00
5 changed files with 960 additions and 10 deletions

View File

@ -0,0 +1,28 @@
name: build-docker-imge
on:
- push
- pull_request
jobs:
build:
name: Build the docker container
runs-on: ubuntu-latest
steps:
- name: "Git clone"
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git .
- name: "LS"
run: ls -lisa
- name: "LS ECHO"
run: echo "$(ls)" "${{ gitea.repository }}" "${{ gitea.ref_name }}" "${{ gitea.sha }}"
- name: "Git checkout"
run: git checkout "${{ gitea.sha }}"
- uses: aevea/action-kaniko@master
name: Run Kaniko to build our docker container.
with:
image: kocoded/nachhilfesystem/nachhilfesystem
tag: ${{ gitea.workflow_sha }}
tag_with_latest: true
registry: git.kocoder.xyz
username: ${{ secrets.CI_RUNNER_USER }}
password: ${{ secrets.CI_RUNNER_TOKEN }}
build_file: Dockerfile

925
.yarn/releases/yarn-4.4.0.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

@ -1,15 +1,9 @@
# Yarn's manifest file. You can configure yarn here.
# See https://yarnpkg.com/configuration/yarnrc.
# For `node_modules` (see `nodeLinker` below), this is almost always the preferred option.
compressionLevel: 0
enableGlobalCache: true
# Lets yarn use hardlinks inside `node_modules` to dedupe packages.
# For a more pnpm-like experience, consider `hardlinks-global` where hardlinks point to a global store.
nmMode: hardlinks-local
# How to install Node packages.
# Heads up: right now, Redwood expects this to be `node-modules`.
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.4.0.cjs

View File

@ -19,6 +19,7 @@ COPY --chown=node:node package.json .
COPY --chown=node:node api/package.json api/
COPY --chown=node:node web/package.json web/
COPY --chown=node:node yarn.lock .
COPY --chown=node:node .yarn/releases/yarn-4.4.0.cjs .yarn/releases/
RUN mkdir -p /home/node/.yarn/berry/index
RUN mkdir -p /home/node/.cache
@ -82,6 +83,7 @@ COPY --chown=node:node .yarnrc.yml .
COPY --chown=node:node package.json .
COPY --chown=node:node api/package.json api/
COPY --chown=node:node yarn.lock .
COPY --chown=node:node .yarn/releases/yarn-4.4.0.cjs .yarn/releases/
RUN mkdir -p /home/node/.yarn/berry/index
RUN mkdir -p /home/node/.cache
@ -122,6 +124,7 @@ COPY --chown=node:node .yarnrc.yml .
COPY --chown=node:node package.json .
COPY --chown=node:node web/package.json web/
COPY --chown=node:node yarn.lock .
COPY --chown=node:node .yarn/releases/yarn-4.4.0.cjs .yarn/releases/
RUN mkdir -p /home/node/.yarn/berry/index
RUN mkdir -p /home/node/.cache

View File

@ -16626,11 +16626,11 @@ __metadata:
"typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>":
version: 5.6.2
resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>::version=5.6.2&hash=8c6c40"
resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>::version=5.6.2&hash=74658d"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/94eb47e130d3edd964b76da85975601dcb3604b0c848a36f63ac448d0104e93819d94c8bdf6b07c00120f2ce9c05256b8b6092d23cf5cf1c6fa911159e4d572f
checksum: 10c0/e6c1662e4852e22fe4bbdca471dca3e3edc74f6f1df043135c44a18a7902037023ccb0abdfb754595ca9028df8920f2f8492c00fc3cbb4309079aae8b7de71cd
languageName: node
linkType: hard