Skip to content

Commit

Permalink
Автотесты образов
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Jul 13, 2024
1 parent d3fea4d commit bed4c8c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/check-docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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 }}/
file: ./${{ odoo-version }}/Dockerfile
push: false
load: true
tags: my/odoo:${{ odoo-version }}

0 comments on commit bed4c8c

Please sign in to comment.