Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Dec 21, 2023
1 parent 0480258 commit bedd69c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,7 @@ jobs:

steps:
- uses: actions/checkout@v3
# Self versioning
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine hatch
- name: Versioning package
run: hatch version ${{ github.ref_name }}

# Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:

steps:
- uses: actions/checkout@v3
# Self versioning
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine hatch
- name: Versioning package
run: hatch version ${{ github.ref_name }}
# Publish
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down

0 comments on commit bedd69c

Please sign in to comment.