Standardizing syntax; fully operational

This commit is contained in:
James Barnsley
2022-03-13 20:28:58 +13:00
parent 2bd9ec6804
commit d15fcc7e78

View File

@ -82,7 +82,7 @@ jobs:
if: ${{ matrix.coverage }}
deploy_pypi:
name: Build and publish to PyPi
name: 'Publish: PyPi'
runs-on: ubuntu-latest
needs: [jest, tox]
if: github.ref == 'refs/heads/deploy/release'
@ -122,25 +122,24 @@ jobs:
run: echo ${{ steps.docker_build.outputs.digest }}
deploy_image:
name: Build and publish to DockerHub
name: 'Publish: DockerHub'
runs-on: ubuntu-latest
needs: [jest, tox]
if: github.ref == 'refs/heads/deploy/release'
steps:
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true