From ee657503186e3a864ebe29017ce0013bb746f1ba Mon Sep 17 00:00:00 2001 From: Aliaksandr Yakutovich Date: Mon, 5 May 2025 18:22:30 +0200 Subject: [PATCH 1/3] Temporarily disable arm build. --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5762f13b..7cc179ee 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -28,7 +28,7 @@ jobs: packages: write strategy: matrix: - arch: [amd64, arm64] + arch: [amd64] fail-fast: false steps: - name: Checkout code From 7ce142e04538c12dcae6250e0e4d6576f27620c7 Mon Sep 17 00:00:00 2001 From: Edoardo Baldi Date: Mon, 5 May 2025 22:58:15 +0200 Subject: [PATCH 2/3] Add annotations via "build-and-push.outputs" --- .github/workflows/docker-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7cc179ee..d48dd47e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -67,3 +67,5 @@ jobs: push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + outputs: | + type=image,name=ghcr.io/${{ github.repository }},push-by-digest=false,name-canonical=false,push=true,annotation-index.org.opencontainers.image.description="A containerized Python tutorial environment with Jupyter Lab.",annotation-index.org.opencontainers.image.source="https://github.com/${{ github.repository }}",annotation-index.org.opencontainers.image.authors="Empa Scientific IT ",annotation-index.org.opencontainers.image.licenses="MIT" From 01605f34f01a137ced87edc4fe30706edbc4b6ec Mon Sep 17 00:00:00 2001 From: Edoardo Baldi Date: Mon, 5 May 2025 23:04:18 +0200 Subject: [PATCH 3/3] Fix bug with quotes --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index d48dd47e..bca51987 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -68,4 +68,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} outputs: | - type=image,name=ghcr.io/${{ github.repository }},push-by-digest=false,name-canonical=false,push=true,annotation-index.org.opencontainers.image.description="A containerized Python tutorial environment with Jupyter Lab.",annotation-index.org.opencontainers.image.source="https://github.com/${{ github.repository }}",annotation-index.org.opencontainers.image.authors="Empa Scientific IT ",annotation-index.org.opencontainers.image.licenses="MIT" + type=image,name=ghcr.io/${{ github.repository }},push-by-digest=false,name-canonical=false,push=true,annotation-index.org.opencontainers.image.description=A containerized Python tutorial environment with Jupyter Lab.,annotation-index.org.opencontainers.image.source=https://github.com/${{ github.repository }},annotation-index.org.opencontainers.image.authors=Empa Scientific IT ,annotation-index.org.opencontainers.image.licenses=MIT