From a7c46fdde7bcaac488d5a0725cec94b6a60c5601 Mon Sep 17 00:00:00 2001 From: Dunce Date: Tue, 24 Feb 2026 16:53:39 +0000 Subject: [PATCH 1/2] Try to push & cache docker images with devcontainer/ci --- .github/workflows/build-devcontainer.yml | 19 +++++++++++++++++++ .github/workflows/fontforge-validate.yml | 3 +-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build-devcontainer.yml diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml new file mode 100644 index 0000000..c1b5ebe --- /dev/null +++ b/.github/workflows/build-devcontainer.yml @@ -0,0 +1,19 @@ +name: Build devcontainer + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - name: Build devcontainer + uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3 + with: + imageName: ghcr.io/comcode-org/white-bunnybat-devcontainer + cacheFrom: ghcr.io/comcode-org/white-bunnybat-devcontainer + push: always diff --git a/.github/workflows/fontforge-validate.yml b/.github/workflows/fontforge-validate.yml index d743f2e..d131b49 100644 --- a/.github/workflows/fontforge-validate.yml +++ b/.github/workflows/fontforge-validate.yml @@ -31,6 +31,5 @@ jobs: # v0.3 (at the time of commit) uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 with: - # never push the devcontainer docker image to a registry ... for now - push: never + cacheFrom: ghcr.io/comcode-org/white-bunnybat-devcontainer runCmd: ./validate.py white-bunnybat.sfd From 0344cc3a53b2f559a75d27aa9c5b05d85eedb740 Mon Sep 17 00:00:00 2001 From: Dunce Date: Tue, 24 Feb 2026 16:56:16 +0000 Subject: [PATCH 2/2] Change to PR temporarily for testing --- .github/workflows/build-devcontainer.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index c1b5ebe..dfb6012 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -1,9 +1,7 @@ name: Build devcontainer on: - push: - branches: - - main + pull_request: jobs: build: