CI: add Docker build workflow

main
Jae Lo Presti 8 months ago
parent 571e503492
commit 4057f1ac90
No known key found for this signature in database
GPG Key ID: 025F43E0BE5056C0

@ -0,0 +1,31 @@
name: Docker Build
on:
push:
paths-ignore:
- "**.md"
branches:
- main
jobs:
build-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.5
with:
fetch-depth: 0
- name: Login to Github Docker registery
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
username: jae1911
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2.7.0
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/jae1911/uwu-proxified:latest
Loading…
Cancel
Save