Files
grecia/.github/workflows/docker.yml
Javi Martín 26ebe619e3 Use a specific version of Ubuntu in workflows
Using ubuntu-latest might result in incompatibilities when this image
changes to a different version of Ubuntu. For example, the Ubuntu 24.04
image no longer includes imagemagick, meaning that we'll have to install
it manually when using Ubuntu 24.04.
2024-10-14 13:47:30 +02:00

25 lines
463 B
YAML

name: Docker
on: [pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build Dockerfile
id: docker_build
uses: docker/build-push-action@v6
with:
context: ./
file: ./Dockerfile
push: false