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:
Zach White
2021-07-07 22:54:34 -07:00
committed by GitHub
parent 6d99eacdf8
commit 9fccc990be
2 changed files with 19 additions and 1 deletions
+11 -1
View File
@@ -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