mvp?
parent
ff5824dd9e
commit
025e710d44
@ -1,34 +0,0 @@
|
||||
name: Publish Docker
|
||||
run-name: ${{ github.actor }} is building ${{ github.repository }}
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Publish-Docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.raptorpond.com
|
||||
username: henine
|
||||
password: "${{secrets.PACKAGE_TOKEN}}"
|
||||
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: git.raptorpond.com/${{ github.repository }}:latest
|
@ -0,0 +1,10 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
rulebot:
|
||||
image: git.raptorpond.com/henine/rulebot:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- RULEBOT_MASTODON_TOKEN
|
||||
- RULEBOT_POST_INTERVAL
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
Loading…
Reference in New Issue