Some checks failed
CI / Build Jupyter python Docker images (push) Failing after 13m4s
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'jupyter-python/**'
|
|
- '.gitea/workflows/build-jupyter-python.yaml'
|
|
jobs:
|
|
"Build Jupyter python Docker images":
|
|
runs-on: woryzen
|
|
steps:
|
|
-
|
|
name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
driver: docker-container
|
|
-
|
|
name: Login to Gitea container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.woggioni.net
|
|
username: woggioni
|
|
password: ${{ secrets.PUBLISHER_TOKEN }}
|
|
-
|
|
name: Build and push jupyter-python image
|
|
uses: docker/build-push-action@v5.3.0
|
|
with:
|
|
context: "{{defaultContext}}:jupyter-python"
|
|
platforms: linux/amd64,linux/arm64
|
|
push: true
|
|
pull: true
|
|
tags: gitea.woggioni.net/woggioni/jupyter-python:latest
|
|
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-python:buildx
|
|
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/jupyter-python:buildx
|