34 lines
744 B
YAML
34 lines
744 B
YAML
name: CD Production
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
env:
|
|
REGISTRY: docker.lechner-systems.at
|
|
IMAGE_NAME: lechnersystems/maintenance
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Publish Docker image
|
|
uses: ./.gitea/actions/publish-image
|
|
with:
|
|
tag: latest
|
|
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
|
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
|
|
- name: Create Gitea stable release
|
|
uses: ./.gitea/actions/create-release
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
prerelease: 'false'
|