Add Flush Timeout to s3 Connector #371
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Development Build | |
on: | |
pull_request: | |
types: [closed] | |
branches: [main] | |
jobs: | |
create-github-prerelease: | |
runs-on: ubuntu-latest | |
name: create and publish | |
if: github.event.pull_request.merged == true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip wheel | |
- name: Build binary wheel and a source tarball | |
run: pip wheel --no-deps --wheel-dir ./dist . | |
- uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
automatic_release_tag: latest | |
prerelease: true | |
title: Development Build | |
files: | | |
dist/* | |
LICENSE | |
containerbuild: | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build images | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: true # Will only build if this is not here | |
build-args: | | |
LOGPREP_VERSION=latest | |
PYTHON_VERSION=${{ matrix.python-version }} | |
tags: | | |
ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-main | |
ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-latest |