Skip to content

chore(Odoo): update to image 20231222 #7

chore(Odoo): update to image 20231222

chore(Odoo): update to image 20231222 #7

Workflow file for this run

name: odoo
on:
push:
tags:
- 'odoo-[0-9]+.[0-9]+.[0-9]+'
jobs:
odoo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: odoo
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: tag
id: tag
run: |
VERSION=$(echo "${{github.ref_name}}" | cut -d "-" -f 2)
echo "version:" $VERSION
echo "version=$VERSION" >> $GITHUB_OUTPUT
- uses: docker/build-push-action@v4
with:
context: odoo
push: true
tags: glasskube/odoo:latest, glasskube/odoo:${{ steps.tag.outputs.VERSION }}