Skip to content

[CI/Build] upgrade Dockerfile to ubuntu 22.04 #2

[CI/Build] upgrade Dockerfile to ubuntu 22.04

[CI/Build] upgrade Dockerfile to ubuntu 22.04 #2

Workflow file for this run

name: Container Image
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
build-mount-path: /var/lib/docker/
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Restart docker
run: sudo service docker restart
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: false