This commit is contained in:
parent
941674164e
commit
223510ece1
@ -1,6 +1,8 @@
|
|||||||
Actions name: Publish
|
Actions name: Publish
|
||||||
# hi john
|
# hi john
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 0" # Every 7 days
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
@ -42,13 +44,13 @@ jobs:
|
|||||||
file: ./gitea-runner/DockerDockerfile
|
file: ./gitea-runner/DockerDockerfile
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:docker
|
tags: git.fascinated.cc/fascinated/gitea-runner:docker
|
||||||
|
|
||||||
- name: Build and Push (Node 18.x)
|
- name: Build and Push (Node Latest)
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: ./gitea-runner
|
context: ./gitea-runner
|
||||||
file: ./gitea-runner/Node18xDockerfile
|
file: ./gitea-runner/NodeLatestDockerfile
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:node-18
|
tags: git.fascinated.cc/fascinated/gitea-runner:node-latest
|
||||||
|
|
||||||
- name: Build and Push (Java 17)
|
- name: Build and Push (Java 17)
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
@ -57,11 +59,3 @@ jobs:
|
|||||||
context: ./gitea-runner
|
context: ./gitea-runner
|
||||||
file: ./gitea-runner/Java17Dockerfile
|
file: ./gitea-runner/Java17Dockerfile
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:java-17
|
tags: git.fascinated.cc/fascinated/gitea-runner:java-17
|
||||||
|
|
||||||
- name: Build and Push (Java 18)
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
context: ./gitea-runner
|
|
||||||
file: ./gitea-runner/Java18Dockerfile
|
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:java-18
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
FROM git.rainnny.club/rainnny/gitea-runner:docker
|
|
||||||
|
|
||||||
# Update & Install packages
|
|
||||||
RUN apt-get update -y \
|
|
||||||
&& apt-get install lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 iproute2 libstdc++6 wget maven libc6-x32 libc6-i386 -y
|
|
||||||
|
|
||||||
# Install NodeJS
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
|
|
||||||
RUN bash /tmp/nodesource_setup.sh
|
|
||||||
RUN apt install nodejs -y
|
|
||||||
|
|
||||||
# Install OpenJDK 18
|
|
||||||
RUN wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb
|
|
||||||
RUN dpkg -i jdk-18_linux-x64_bin.deb
|
|
||||||
RUN update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-18/bin/java 1
|
|
||||||
RUN java -version
|
|
Loading…
Reference in New Issue
Block a user