Skip to content

Release tests-runner base image #33

Release tests-runner base image

Release tests-runner base image #33

name: Release tests-runner base image
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test-runner-image:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: tests-runner/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/metalbear-co/ci-tests-runner-build:latest