Skip to content

Bump actions/checkout from 3.5.2 to 4.0.0 (#41) #123

Bump actions/checkout from 3.5.2 to 4.0.0 (#41)

Bump actions/checkout from 3.5.2 to 4.0.0 (#41) #123

name: Check if a Docker image can be built
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Build the Docker image
env:
# @see https://docs.docker.com/develop/develop-images/build_enhancements/
COMPOSE_DOCKER_CLI_BUILD: "1"
DOCKER_BUILDKIT: "1"
run: docker build . --tag ${{ github.repository }}
- name: Image details
run: docker images | head
- name: Run info.sh
run: docker run -t ${{ github.repository }} sh info.sh