Skip to content

refactor: move nginx server config #3

refactor: move nginx server config

refactor: move nginx server config #3

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
proxy:
runs-on: ubuntu-22.04
steps:
- uses: docker/[email protected]
with:
driver-opts: image=moby/buildkit
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: docker/[email protected]
with:
push: true
provenance: false
file: Dockerfile.proxy
tags: ghcr.io/${{ github.repository }}/proxy,ghcr.io/${{ github.repository }}/proxy:sha-${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
web:
runs-on: ubuntu-22.04
steps:
- uses: docker/[email protected]
with:
driver-opts: image=moby/buildkit
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: docker/[email protected]
with:
push: true
provenance: false
file: Dockerfile.web
tags: ghcr.io/${{ github.repository }}/web,ghcr.io/${{ github.repository }}/web:sha-${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
render:
runs-on: ubuntu-22.04
steps:
- uses: docker/[email protected]
with:
driver-opts: image=moby/buildkit
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: docker/[email protected]
with:
push: true
provenance: false
file: Dockerfile.render
tags: ghcr.io/${{ github.repository }}/render,ghcr.io/${{ github.repository }}/render:sha-${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max