Erki ee4c6c021a
All checks were successful
Build and push latest / publish (push) Successful in 45s
oeh jah
2024-10-01 22:23:08 +03:00

33 lines
872 B
YAML

name: Build and push latest
run-name: Build and push latest
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/master'
steps:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to registry
uses: docker/login-action@v3
with:
registry: git.skullnet.me
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: actions/checkout@v4
with:
lfs: 'true'
submodules: 'recursive'
- run: git lfs pull
- run: stat ./static/media/stm32begin-001-007.png
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: "git.skullnet.me/erki/embeddingcpp:latest"
file: Dockerfile