proxy/.gitea/workflows/publish.yml
Liam df3e9ee1c9
All checks were successful
Publish Docker Images / docker (push) Successful in 1m6s
docker
2023-11-16 12:54:49 +00:00

45 lines
1000 B
YAML

name: Publish Docker Images
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-22.04
container: fascinated/docker-images:node-pnpm-latest
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 }}
- name: Install dependencies
run: pnpm install
- name: Build Repo
run: pnpm run build
- name: Build and Push (Node)
uses: docker/build-push-action@v4
with:
push: true
file: ./Dockerfile
tags: fascinated/proxy:node-latest
build-args: |
APP=node
- name: Build and Push (Proxy)
uses: docker/build-push-action@v4
with:
push: true
file: ./Dockerfile
tags: fascinated/proxy:proxy-latest
build-args: |
APP=proxy