watcher/.gitea/workflows/build-push.yml

14 lines
329 B
YAML
Raw Normal View History

2024-04-12 14:07:00 +08:00
name: Build image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-04-12 14:17:08 +08:00
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}
labels: latest