Standardizing syntax; fully operational
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user