Skip to content

remove config.hosts from production.rb #660

remove config.hosts from production.rb

remove config.hosts from production.rb #660

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ main, 1.4 ]
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
id: meta
with:
images: |
enju_leaf
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v6
with:
push: true
tags: |
projectnextl/${{ steps.meta.outputs.tags }}
ghcr.io/next-l/${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}