build and push
This commit is contained in:
parent
03f8b2517c
commit
b57edc642b
@ -14,12 +14,11 @@ jobs:
|
||||
ports:
|
||||
- 32000:32000
|
||||
steps:
|
||||
- name: Build and push to local registry
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: localhost:32000/scrapper:latest
|
||||
- name: Inspect
|
||||
run: |
|
||||
docker buildx imagetools inspect localhost:32000/scrapper:latest
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build . --file Dockerfile --tag localhost:32000/scrapper:latest
|
||||
|
||||
- name: push image to registry
|
||||
run: docker push localhost:32000/scrapper:latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user