mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Activated Docker build again
This commit is contained in:
parent
9842c941c6
commit
5df98b0ef2
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@ -139,11 +139,11 @@ jobs:
|
|||||||
|
|
||||||
- run: pip install --upgrade setuptools wheel twine
|
- run: pip install --upgrade setuptools wheel twine
|
||||||
|
|
||||||
# # Build and test Docker image
|
# Build and test Docker image
|
||||||
# - run: |
|
- run: |
|
||||||
# docker build -t ${GITHUB_REPOSITORY} .
|
docker build -t ${GITHUB_REPOSITORY} .
|
||||||
# docker run --rm -i -v $(pwd):/docs ${GITHUB_REPOSITORY} \
|
docker run --rm -i -v $(pwd):/docs ${GITHUB_REPOSITORY} \
|
||||||
# build --theme material
|
build --theme material
|
||||||
|
|
||||||
# Build Python package
|
# Build Python package
|
||||||
- run: python setup.py build sdist bdist_wheel --universal
|
- run: python setup.py build sdist bdist_wheel --universal
|
||||||
@ -154,12 +154,12 @@ jobs:
|
|||||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
run: twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
|
run: twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
|
||||||
|
|
||||||
# # Push image to Docker Hub
|
# Push image to Docker Hub
|
||||||
# - env:
|
- env:
|
||||||
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
# run: |
|
run: |
|
||||||
# docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
||||||
# docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:${GITHUB_REF##*/}
|
docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:${GITHUB_REF##*/}
|
||||||
# docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:latest
|
docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:latest
|
||||||
# docker push ${GITHUB_REPOSITORY}
|
docker push ${GITHUB_REPOSITORY}
|
||||||
|
Loading…
Reference in New Issue
Block a user