From 235863b84cd470546824ef16cb71ddcffcbe6839 Mon Sep 17 00:00:00 2001 From: rzmk <30333942+rzmk@users.noreply.github.com> Date: Mon, 15 Jun 2026 11:40:00 -0400 Subject: [PATCH] ci: add container publish workflow --- .github/workflows/container.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/container.yml diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml new file mode 100644 index 0000000..e4fcc1f --- /dev/null +++ b/.github/workflows/container.yml @@ -0,0 +1,29 @@ +name: Publish bulk loader Docker container + +on: + workflow_dispatch: + +jobs: + build_and_push: + runs-on: ubuntu-latest + steps: + - name: Login to GitHub Container Registry + uses: docker/login-action@v4 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v4 + + - name: Build and push + uses: docker/build-push-action@v7 + with: + context: ./bulk_loader + file: ./bulk_loader/Dockerfile + push: true + tags: ghcr.io/dathere/ckan_geoconnex_bulk_runner:latest + cache-from: type=gha,scope=ckan_geoconnex_bulk_runner + platforms: linux/amd64 + cache-to: type=gha,mode=max,scope=ckan_geoconnex_bulk_runner