Skip to content

feat(release): NON WORKING 13 release #2

feat(release): NON WORKING 13 release

feat(release): NON WORKING 13 release #2

Workflow file for this run

name: Docker Push
on:
push:
tags:
- '*'
jobs:
docker-push:
name: Docker push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
labels: |
org.opencontainers.image.url=https://hub.docker.com/r/rubencabrera/odoo-docker
images: rubencabrera/odoo-docker
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
- name: Docker build and push
id: docker_push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}