You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rulebot/.gitea/workflows/build_docker.yaml

35 lines
941 B
YAML

2 years ago
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
2 years ago
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
2 years ago
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2
2 years ago
- name: Login to registry
2 years ago
uses: docker/login-action@v2
with:
registry: git.raptorpond.com
username: henine
2 years ago
password: "${{secrets.PACKAGE_TOKEN}}"
2 years ago
2 years ago
- name: Build and push
2 years ago
uses: https://github.com/docker/build-push-action@v2
2 years ago
with:
context: .
file: ./Dockerfile
2 years ago
push: true
2 years ago
tags: git.raptorpond.com/${{ github.repository }}:latest