Skip to content

adding regression test workflow in container #2015

adding regression test workflow in container

adding regression test workflow in container #2015

Workflow file for this run

name: Build Container
on:
pull_request:
branches: [devel]
jobs:
build_container:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
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: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
tags: ghcr.io/buildtesters/buildtest_spack:spack-sc23
context: scripts/spack_container
push: true