Files
DatBrowser/.gitea/workflows/pushImage.yaml
Matthias Guillitte 8d1e0474c4
All checks were successful
Push image to registry / build-image (push) Successful in 8m8s
Reset gitea actions
2025-02-06 18:25:40 +01:00

24 lines
583 B
YAML

name: Push image to registry
on:
push:
branches:
- main
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.matthiasg.dev
username: ninluc
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
run: |
docker build -t git.matthiasg.dev/ninluc/datbrowser:latest .
docker push git.matthiasg.dev/ninluc/datbrowser:latest