Skip to content

Replace Devise with has_secure_password (#992) #62

Replace Devise with has_secure_password (#992)

Replace Devise with has_secure_password (#992) #62

name: Build and push devcore docker image
on:
push:
branches:
- master
- main
workflow_dispatch:
jobs:
docker-buildx:
runs-on: ubuntu-latest
steps:
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}"
file: ./rails/Dockerfile
target: devcore
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
terrastories/devcore:${{ github.sha }}
terrastories/devcore:latest