Merge pull request #146 from CodeandoMexico/patch-145 #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: . |