This commit is contained in:
parent
941674164e
commit
223510ece1
@ -1,6 +1,8 @@
|
||||
Actions name: Publish
|
||||
# hi john
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * 0" # Every 7 days
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
@ -42,13 +44,13 @@ jobs:
|
||||
file: ./gitea-runner/DockerDockerfile
|
||||
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
|
||||
with:
|
||||
push: true
|
||||
context: ./gitea-runner
|
||||
file: ./gitea-runner/Node18xDockerfile
|
||||
tags: git.fascinated.cc/fascinated/gitea-runner:node-18
|
||||
file: ./gitea-runner/NodeLatestDockerfile
|
||||
tags: git.fascinated.cc/fascinated/gitea-runner:node-latest
|
||||
|
||||
- name: Build and Push (Java 17)
|
||||
uses: docker/build-push-action@v4
|
||||
@ -57,11 +59,3 @@ jobs:
|
||||
context: ./gitea-runner
|
||||
file: ./gitea-runner/Java17Dockerfile
|
||||
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