feat 修改build流程
Some checks failed
Build image / build (push) Failing after 15s

This commit is contained in:
timerzz 2024-04-12 14:17:08 +08:00
parent ec1808518e
commit 1aa89d5cda

View File

@ -4,4 +4,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- run: docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:latest .
- 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