mirror of
https://github.com/qmk/qmk_cli.git
synced 2026-08-03 15:57:04 -04:00
Add infrastructure to build and push docker containers (#64)
* add infrastructure to build and push docker containers * make it part of the deploy workflow
This commit is contained in:
@@ -42,8 +42,18 @@ jobs:
|
||||
tags: true
|
||||
- name: Build and publish
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_USERNAME: qmk
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
twine upload dist/*
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1.10.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
- name: Build and Push to Docker Hub
|
||||
uses: docker/build-push-action@v2.5.0
|
||||
with:
|
||||
push: true
|
||||
tags: qmkfm/qmk_cli:latest
|
||||
|
||||
Reference in New Issue
Block a user