Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:stable-slim as builder
FROM debian:stable-slim AS builder

COPY . /source

Expand All @@ -20,9 +20,9 @@ RUN rm -rf dist && /root/.local/bin/poetry build -f wheel

FROM debian:stable-slim

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV PIP_NO_CACHE_DIR off
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_CACHE_DIR=off
ENV PATH="/root/.local/bin:${PATH}"

WORKDIR /greenbone-feed-sync
Expand All @@ -38,7 +38,7 @@ RUN apt-get update && \
apt-get remove --purge --auto-remove -y && \
rm -rf /var/lib/apt/lists/*

RUN PIPX_HOME=/var/lib/pipx PIPX_BIN_DIR=/usr/bin
RUN PIPX_HOME=/var/lib/pipx PIPX_BIN_DIR=/usr/bin

RUN addgroup --gid 1001 --system gvm && \
adduser --no-create-home --shell /bin/false --disabled-password --uid 1001 --system --group gvm
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/release-pontos.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release greenbone-feed-sync

on:
pull_request:
types: [closed]
workflow_dispatch:
inputs:
release-type:
type: choice
description: "Release type. One of patch, minor or major"
options:
- patch
- minor
- major
release-version:
description: "Set an explicit version, that will overwrite release-type. Fails if version is not compliant."
type: string

jobs:
build-and-release:
name: Create a new release
uses: greenbone/workflows/.github/workflows/release-generic.yml@main
with:
versioning-scheme: semver
release-type: ${{ inputs.release-type }}
release-version: ${{ inputs.release-version }}
secrets: inherit
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ date components of the Greenbone Community Edition by default. It is highly
configurable and can be adjusted easily for downloading different feed versions.

- [Installation](#installation)
- [Version](#version)
- [Requirements](#requirements)
- [Install using pipx](#install-using-pipx)
- [Install using pip](#install-using-pip)
Expand Down Expand Up @@ -58,6 +59,12 @@ configurable and can be adjusted easily for downloading different feed versions.

## Installation

### Version

`greenbone-feed-sync` uses [semantic versioning](https://semver.org/).

Versions prior to 25.0.0 used [calendar versioning](https://calver.org/).

### Requirements

Python 3.9 and later is supported.
Expand Down
Loading