Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
name: Runner CI/CD
|
||||||
|
run-name: ${{ gitea.actor }} is building runner images
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
image:
|
||||||
|
- name: java
|
||||||
|
path: docker/java/Dockerfile
|
||||||
|
- name: python
|
||||||
|
path: docker/python/Dockerfile
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Docker login
|
||||||
|
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea.davygora.duckdns.org -u ${{ gitea.actor }} --password-stdin
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
docker build -f ${{ matrix.image.path }} \
|
||||||
|
-t gitea.davygora.duckdns.org/yura/${{ matrix.image.name }}:latest .
|
||||||
|
|
||||||
|
- name: Push
|
||||||
|
run: docker push gitea.davygora.duckdns.org/yura/${{ matrix.image.name }}:latest
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# IDE
|
||||||
|
|
||||||
|
**/.idea
|
||||||
|
**/*.iml
|
||||||
|
**/*.ipr
|
||||||
|
**/*.iws
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
FROM eclipse-temurin:25-jdk-alpine
|
||||||
|
|
||||||
|
RUN apk add nodejs npm git
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
FROM python:alpine
|
||||||
|
|
||||||
|
RUN apk add nodejs npm git
|
||||||
Reference in New Issue
Block a user