MMS/.forgejo/workflows/build-push-jre-alpine.yml
anonoe ea6aa6581b
Some checks failed
/ build_push (push) Failing after 22s
workflow patch
2025-09-08 23:09:33 +02:00

46 lines
1.4 KiB
YAML

on:
workflow_dispatch:
push:
tags:
- 'jre-alpine*.**/v**'
schedule:
- cron: '0 0 1-31 1-12 1'
jobs:
build_push:
runs-on: ubuntu-latest
steps:
-
name: Checkout Repository
#uses: actions/checkout@v5
uses: https://github.com/yangskyboxlabs/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
id: meta
uses: docker/metadata-action@v5
with:
images: |
git.nanody.de/anonoe/jre-alpine
tags: |
type=semver,pattern={{major}}-{{raw}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}},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}},match=v(\d.\d.\d)$
-
name: Build and push jre-alpine
uses: docker/build-push-action@v6
with:
context: ./server/buildenv-jre-alpine/
file: ./server/buildenv-jre-alpine/Containerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
#labels: ${{ steps.meta.outputs.labels }}