diff options
| -rw-r--r-- | .github/workflows/deploy.yaml | 15 | 
1 files changed, 14 insertions, 1 deletions
| diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 23c76e9..d448b25 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -59,6 +59,19 @@ jobs:              ghcr.io/python-discord/snekbox:latest              ghcr.io/python-discord/snekbox:${{ inputs.version }} +      - name: Build PyDis final image +        uses: docker/build-push-action@v6 +        with: +          context: . +          file: ./Dockerfile.pydis +          push: true +          cache-from: | +            ghcr.io/python-discord/snekbox:latest-pydis +          cache-to: type=inline +          tags: | +            ghcr.io/python-discord/snekbox:latest-pydis +            ghcr.io/python-discord/snekbox:${{ inputs.version }}-pydis +        # Deploy to Kubernetes.        - name: Install kubectl          uses: azure/setup-kubectl@v4 @@ -74,7 +87,7 @@ jobs:          with:            namespace: snekbox            manifests: deployment.yaml -          images: 'ghcr.io/python-discord/snekbox:${{ inputs.version }}' +          images: 'ghcr.io/python-discord/snekbox:${{ inputs.version }}-pydis'        # Push the base image to GHCR, with an inline cache manifest.        - name: Push base image | 
