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

This commit is contained in:
timerzz 2024-04-12 14:19:41 +08:00
parent 1aa89d5cda
commit 93c154e985

View File

@ -4,11 +4,4 @@ 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
- run: docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:latest -f Dockerfile .