Skip to content

Bump the dev-pkgs group across 1 directory with 5 updates #138

Bump the dev-pkgs group across 1 directory with 5 updates

Bump the dev-pkgs group across 1 directory with 5 updates #138

Workflow file for this run

name: Build container
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
IMAGE_NAME: neurontainer
permissions: {}
jobs:
build-and-export:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image (load locally)
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
load: true
tags: |
${{ env.IMAGE_NAME }}:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Export image tar
run: |
docker save \
"${{ env.IMAGE_NAME }}:${{ github.sha }}" \
-o /tmp/${{ env.IMAGE_NAME }}.tar
- name: Upload image artifact
uses: actions/upload-artifact@v7
with:
name: ${{ env.IMAGE_NAME }}-image-${{ github.sha }}
path: /tmp/${{ env.IMAGE_NAME }}.tar
if-no-files-found: error