Fixed CI
All checks were successful
All checks were successful
This commit is contained in:
parent
50426d9d76
commit
e76df17735
1 changed files with 1 additions and 21 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue