Fixed CI
All checks were successful
/ pylint (push) Successful in 17s
/ mypy (push) Successful in 20s
/ build-artifacts (push) Successful in 10s
/ publish-artifacts (push) Successful in 10s
/ release (push) Successful in 7s
/ lint-and-typing (push) Successful in 24s

This commit is contained in:
Firq 2024-08-09 19:05:14 +02:00
parent 50426d9d76
commit e76df17735
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -57,28 +57,8 @@ jobs:
- name: Upload package to registry - name: Upload package to registry
run: python -m twine upload --repository-url ${{ secrets.REPOSITORY_URL }} -u ${{ secrets.TWINE_DEPLOY_USER }} -p ${{ secrets.TWINE_DEPLOY_PASSWORD }} dist/* run: python -m twine upload --repository-url ${{ secrets.REPOSITORY_URL }} -u ${{ secrets.TWINE_DEPLOY_USER }} -p ${{ secrets.TWINE_DEPLOY_PASSWORD }} dist/*
build-and-push-container:
needs: [ "publish-artifacts" ]
runs-on: dind
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into Docker Package Registry
uses: docker/login-action@v3
with:
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
- name: Build and push to Docker Package Registry
uses: docker/build-push-action@v5
with:
build-args: |
PACKAGE_VERSION=${{ github.ref_name }}
push: true
tags: forgejo.neshweb.net/firq/dockge-cli:${{ github.ref_name }}
release: release:
needs: [ build-and-push-container, publish-artifacts ] needs: [ publish-artifacts ]
if: success() if: success()
runs-on: docker runs-on: docker
steps: steps: