Compare commits
No commits in common. "main" and "jre-alpine3.20/v0.0.1" have entirely different histories.
main
...
jre-alpine
2 changed files with 8 additions and 18 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
[workflow_dispatch]
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
tags:
|
tags:
|
||||||
- 'jre-alpine*.**/v**'
|
- 'jre-alpine*.**/v**'
|
||||||
schedule:
|
schedule:
|
||||||
|
|
@ -12,18 +14,7 @@ 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
|
||||||
|
|
@ -32,17 +23,16 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
git.nanody.de/anonoe/jre-alpine
|
git.nanody.de/anonoe/jre-alpine
|
||||||
tags: |
|
tags: |
|
||||||
type=schedule,pattern=nightly,suffix={{tag}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}}
|
type=semver,pattern={{raw}}/{{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: true
|
push: false
|
||||||
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.22
|
FROM alpine:3.20
|
||||||
|
|
||||||
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