proxy/.gitea/workflows/publish.yml

43 lines
972 B
YAML
Raw Normal View History

2023-11-16 11:56:52 +00:00
name: Publish Docker Images
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-22.04
2023-11-16 12:01:54 +00:00
container: fascinated/docker-images:node-pnpm-latest
2023-11-16 11:56:52 +00:00
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Repo
uses: docker/login-action@v2
with:
username: ${{ secrets.REPO_USERNAME }}
password: ${{ secrets.REPO_TOKEN }}
2023-11-16 12:01:54 +00:00
- name: Install dependencies
run: pnpm install
2023-11-16 12:44:21 +00:00
- name: Build Repo
run: pnpm run build
2023-11-16 11:56:52 +00:00
- name: Build and Push (Node)
uses: docker/build-push-action@v4
with:
push: true
2023-11-16 13:19:30 +00:00
context: .
2023-11-16 13:17:23 +00:00
file: ./apps/node/Dockerfile
2023-11-16 11:56:52 +00:00
tags: fascinated/proxy:node-latest
- name: Build and Push (Proxy)
uses: docker/build-push-action@v4
with:
push: true
2023-11-16 13:19:30 +00:00
context: .
2023-11-16 13:17:23 +00:00
file: ./apps/proxy/Dockerfile
2023-11-16 11:56:52 +00:00
tags: fascinated/proxy:proxy-latest