Upgrade gitea to 1.16.9
This commit is contained in:
parent
ff0741d09b
commit
541375b38d
20
gitea.yaml
20
gitea.yaml
|
@ -27,30 +27,12 @@
|
||||||
target: /var/lib/postgresql/data
|
target: /var/lib/postgresql/data
|
||||||
state: "{{ container_state }}"
|
state: "{{ container_state }}"
|
||||||
|
|
||||||
- name: Create Gitea Directory
|
|
||||||
file:
|
|
||||||
path: ~/gitea
|
|
||||||
state: directory
|
|
||||||
recurse: yes
|
|
||||||
|
|
||||||
- name: Send Gitea Dockerfile
|
|
||||||
copy:
|
|
||||||
src: ./gitea/Dockerfile
|
|
||||||
dest: ~/gitea/Dockerfile
|
|
||||||
|
|
||||||
- name: Build Gitea image
|
|
||||||
docker_image:
|
|
||||||
name: gitea
|
|
||||||
source: build
|
|
||||||
build:
|
|
||||||
path: "./gitea"
|
|
||||||
|
|
||||||
- name: Run Gitea
|
- name: Run Gitea
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "{{ stack_prefix_name }}gitea"
|
name: "{{ stack_prefix_name }}gitea"
|
||||||
recreate: true
|
recreate: true
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
image: gitea
|
image: ghcr.io/noenv/gitea:1.16.9
|
||||||
published_ports:
|
published_ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
FROM gitea/gitea:1.16.8
|
|
||||||
|
|
||||||
COPY app.ini /data/gitea/conf/app.ini
|
|
||||||
|
|
||||||
RUN apk --no-cache add asciidoctor
|
|
||||||
|
|
||||||
RUN rm -rf /var/cache/apk/*
|
|
Loading…
Reference in New Issue