Skip to content

Workflow file for this run

name: Pull request main (workflows)
on:
pull_request:
branches: [main]
env:
TEST_TAG: registry.cern.ch/cern-sis/test:latest
LATEST_TAG: registry.cern.ch/cern-sis/test:latest
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ env.TEST_TAG }}
- name: docker run my-image
run: docker run ${{ env.TEST_TAG }} --version