proxy/.gitea/workflow/publish.yml
2023-11-16 11:56:52 +00:00

37 lines
872 B
YAML

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