Skip to content

Автотесты образов #1

Автотесты образов

Автотесты образов #1

Workflow file for this run

name: check-docker
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
jobs:
build:
strategy:
matrix:
odoo-version: [
"10.0",
"11.0",
"12.0",
"13.0",
"14.0",
"15.0",
"16.0",
"17.0",
]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v5
with:
context: ./${{ odoo-version }}/

Check failure on line 35 in .github/workflows/check-docker.yaml

View workflow run for this annotation

GitHub Actions / check-docker

Invalid workflow file

The workflow is not valid. .github/workflows/check-docker.yaml (Line: 35, Col: 20): Unrecognized named-value: 'odoo-version'. Located at position 1 within expression: odoo-version .github/workflows/check-docker.yaml (Line: 36, Col: 17): Unrecognized named-value: 'odoo-version'. Located at position 1 within expression: odoo-version
file: ./${{ odoo-version }}/Dockerfile
push: false
load: true
tags: my/odoo:${{ odoo-version }}