Skip to content

Merge pull request #375 from code4romania/release/PROD_v1.0.20 #129

Merge pull request #375 from code4romania/release/PROD_v1.0.20

Merge pull request #375 from code4romania/release/PROD_v1.0.20 #129

Workflow file for this run

on:
push:
branches:
- main
- develop
tags:
- 'v*'
paths:
- 'backend/**'
workflow_dispatch:
name: Build Docker image
jobs:
build:
name: Build Docker image
uses: code4romania/.github/.github/workflows/build-push-image-ecr.yml@main
with:
image_name: vic
region: eu-west-1
context: backend
dockerfile: backend/Dockerfile
tags: |
type=edge
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
secrets:
role_to_assume: ${{ secrets.ROLE_TO_ASSUME }}