watcher/.gitea/workflows/build-push.yml
timerzz 1aa89d5cda
Some checks failed
Build image / build (push) Failing after 15s
feat 修改build流程
2024-04-12 14:17:08 +08:00

14 lines
329 B
YAML

name: Build image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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