From 7893d4d1563fb11849e69ff31a4e6378efc085ab Mon Sep 17 00:00:00 2001 From: Les Aker Date: Wed, 22 Jul 2026 21:12:56 -0400 Subject: [PATCH] add base-docker action --- actions/base-docker/action.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 actions/base-docker/action.yml diff --git a/actions/base-docker/action.yml b/actions/base-docker/action.yml new file mode 100644 index 0000000..22aa9c8 --- /dev/null +++ b/actions/base-docker/action.yml @@ -0,0 +1,25 @@ +name: Base Docker CI +description: Checkout repo, build docker container, and publish for main branch +runs: + using: composite + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + submodules: recursive + - name: Login to GitHub Container Registry + uses: docker/login-action@v4 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + - name: Build container + shell: bash + run: docker build -t new . + - name: Test container + shell: bash + run: ./scripts/test.sh + - name: Publish images + shell: bash + run: ./meta/publish.sh + if: github.event_name == 'push' && github.ref == 'refs/heads/main'