-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 993 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get the current version
id: current-version
run: echo "version=$(python setup.py --version)" >> $GITHUB_ENV
shell: bash
- name: Run Release Action
uses: MusfiqDehan/[email protected]
with:
version: ${{ env.version }}
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
dockerhub_pat: ${{ secrets.DOCKERHUB_PAT }}
docker_image_name: 'data-preprocessors-image'
github_token: ${{ secrets.GITHUB_TOKEN }}
the_github_username: ${{ secrets.THE_GITHUB_USERNAME }}
the_github_repo_name: 'data-preprocessors'