Compare commits
20 commits
jre-alpine
...
main
| Author | SHA256 | Date | |
|---|---|---|---|
| 92212b7361 | |||
| 2252bb8a5a | |||
| b9662202cf | |||
| ea9a82a7a7 | |||
| fb06b37ec1 | |||
| ca7fa0d669 | |||
| ea348fc5cd | |||
| ea6aa6581b | |||
| 0d54907996 | |||
| 2133e47951 | |||
| 7e539ec3bf | |||
| 32747ca00b | |||
| ffc42f40a2 | |||
| 4a27a84adf | |||
| 8ba427f90c | |||
| 140a3071a6 | |||
| 6032ca31b9 | |||
| 105f61a83a | |||
| 12d6eb6426 | |||
| 3254258006 |
2 changed files with 18 additions and 8 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
on:
|
on:
|
||||||
[workflow_dispatch]
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
tags:
|
tags:
|
||||||
- 'jre-alpine*.**/v**'
|
- 'jre-alpine*.**/v**'
|
||||||
schedule:
|
schedule:
|
||||||
|
|
@ -14,7 +12,18 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout Repository
|
name: Checkout Repository
|
||||||
uses: actions/checkout@v5
|
#uses: actions/checkout@v5
|
||||||
|
#uses: https://github.com/yangskyboxlabs/action-checkout@sha256
|
||||||
|
uses: https://git.nanody.de/anonoe/action-checkout@sha256
|
||||||
|
with:
|
||||||
|
object-format: 'sha256'
|
||||||
|
-
|
||||||
|
name: Login to Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.nanody.de
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.PACKAGES_RW }}
|
||||||
-
|
-
|
||||||
name: Docker meta
|
name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
|
@ -23,16 +32,17 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
git.nanody.de/anonoe/jre-alpine
|
git.nanody.de/anonoe/jre-alpine
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{raw}}/{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}}
|
type=schedule,pattern=nightly,suffix={{tag}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}}
|
||||||
type=semver,pattern={{version}},match=v(\d.\d.\d)$
|
type=semver,pattern={{version}},match=v(\d.\d.\d)$
|
||||||
type=semver,pattern={{major}}.{{minor}},match=v(\d.\d.\d)$
|
type=semver,pattern={{major}}.{{minor}},match=v(\d.\d.\d)$
|
||||||
type=semver,pattern={{major}},match=v(\d.\d.\d)$
|
type=semver,pattern={{major}},match=v(\d.\d.\d)$
|
||||||
|
# type=raw,suffix={{tag}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}},value=
|
||||||
-
|
-
|
||||||
name: Build and push jre-alpine
|
name: Build and push jre-alpine
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./server/buildenv-jre-alpine/
|
context: ./server/buildenv-jre-alpine/
|
||||||
file: ./server/buildenv-jre-alpine/Containerfile
|
file: ./server/buildenv-jre-alpine/Containerfile
|
||||||
push: false
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
#labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
FROM alpine:3.20
|
FROM alpine:3.22
|
||||||
|
|
||||||
RUN apk add --no-cache openjdk21-jre-headless rcon
|
RUN apk add --no-cache openjdk21-jre-headless rcon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue