Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions actions/base-docker/action.yml
Original file line number Diff line number Diff line change
@@ -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'
Loading