Skip to content

ci

ci #563

Workflow file for this run

name: ci
on:
push:
branches:
- 'main'
schedule:
- cron: '0 2 * * *'
jobs:
docker:
runs-on: self-hosted
environment: production
steps:
- uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: vollborn/minecraft-nginx-reverse-proxy:latest
file: src/Dockerfile
context: src