myoauth/.gitea/workflows/build_nightly.yaml

23 lines
540 B
YAML

name: Build Docker Image
on:
push:
branches:
- nightly-dev
jobs:
build-nightly:
runs-on: ubuntu-23.10
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "arielherself/myoauth:nightly"