Skip to content

Commit

Permalink
disable not working publishing steps
Browse files Browse the repository at this point in the history
Signed-off-by: Timm638 <[email protected]>
  • Loading branch information
Timm638 committed Jan 21, 2025
1 parent 074afac commit d160750
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,38 +112,38 @@ jobs:
with:
name: rtdip_sdk_whl
path: ./dist/*.whl
- name: Publish distribution 📦 to Test PyPI
run: |
twine upload --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} --verbose dist/*
# - name: Publish distribution 📦 to Test PyPI
# run: |
# twine upload --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} --verbose dist/*

# Deploy to Docker Hub
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: |
rtdip/prerelease
tags: |
type=semver,pattern={{version}},prefix=api-azure-,value=${{ steps.next_ver.outputs.rtdip_sdk_next_ver }}
- name: Build and push Docker images
uses: docker/build-push-action@v3
with:
context: .
file: ./src/api/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# - name: Log in to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
#
# - name: Log in to the Container registry
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Extract metadata (tags, labels) for Docker
# id: meta
# uses: docker/metadata-action@v4
# with:
# images: |
# rtdip/prerelease
# tags: |
# type=semver,pattern={{version}},prefix=api-azure-,value=${{ steps.next_ver.outputs.rtdip_sdk_next_ver }}
#
# - name: Build and push Docker images
# uses: docker/build-push-action@v3
# with:
# context: .
# file: ./src/api/Dockerfile
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}

0 comments on commit d160750

Please sign in to comment.