1
Fork 0

[RELEASE] build test releases

* forgejo & v*/forgejo branches are mirrored to the forgejo-integration repository on every commit
* re-build a test release every time that happens
  * forogejo => vforgejo-test
  * v1.21/forgejo => v1.21-test
  * v1.22/forgejo => v1.22-test
  * etc.
This commit is contained in:
Earl Warren 2024-02-16 20:21:18 +01:00
parent 7ea1ef2c2b
commit 03efa900ea
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 101 additions and 50 deletions

View file

@ -1,3 +1,4 @@
FROM public.ecr.aws/docker/library/alpine:3.18
FROM code.forgejo.org/oci/alpine:3.19
ARG RELEASE_VERSION=unkown
RUN mkdir -p /app/gitea
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v1.2.3" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea