Skip to content

Merge pull request #146 from CodeandoMexico/patch-145 #71

Merge pull request #146 from CodeandoMexico/patch-145

Merge pull request #146 from CodeandoMexico/patch-145 #71

name: Imagen de producción
on:
push:
branches:
- main
jobs:
docker-image-production:
runs-on: ubuntu-latest
environment: production
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Construir imagen Docker
uses: VaultVulp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: production
image-tag: 1.4
custom-args: --build-arg RAILS_ENV=production --build-arg FORCE_SSL=false --build-arg SECRET_KEY_BASE=${{ secrets.SECRET_KEY_BASE }} --build-arg MAILER_SENDER=${{ secrets.MAILER_SENDER }}
dockerfile: docker/decidim.Dockerfile
build-context: .