Skip to content

Commit

Permalink
Revert publishing steps and trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
yeraydavidrodriguez committed Feb 16, 2022
1 parent 8b8167e commit aeb9ac6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -86,3 +85,11 @@ jobs:
images: |
nautiluscyberneering/librarian
ghcr.io/${{ github.repository }}
- name: Build and push Docker images
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
9 changes: 8 additions & 1 deletion .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -73,3 +72,11 @@ jobs:
run: |
[[ "$(poetry version --short)" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \
|| echo ::set-output name=prerelease::true
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: steps.check-version.outputs.prerelease == 'true'
6 changes: 5 additions & 1 deletion .github/workflows/publish-pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -65,3 +64,8 @@ jobs:

- name: Build Python package
run: poetry build

- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish

0 comments on commit aeb9ac6

Please sign in to comment.