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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Build and push - run: docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:latest -f Dockerfile .
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}
labels: latest