Автотесты образов #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / check-dockerInvalid workflow file
|
||
file: ./${{ odoo-version }}/Dockerfile | ||
push: false | ||
load: true | ||
tags: my/odoo:${{ odoo-version }} |