Skip to content

feat(docker): Remove cache after installing pv #55

feat(docker): Remove cache after installing pv

feat(docker): Remove cache after installing pv #55

Workflow file for this run

name: Docker
on:
pull_request:
merge_group:
env:
PR_NUMBER: ${{ github.event.number }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build the serlo-mysql-database image
uses: docker/build-push-action@v5
with:
push: false
load: true
file: ./Dockerfile
tags: serlo-mysql-database:PR-${{ env.PR_NUMBER }}
- name: Test for mysql in the serlo-mysql-database image
run:
docker run --entrypoint='' --rm serlo-mysql-database:PR-${{ env.PR_NUMBER }} mysql --version