build and push

This commit is contained in:
maximo tejeda 2024-02-08 15:39:02 -04:00
parent 03f8b2517c
commit b57edc642b

View File

@ -14,12 +14,11 @@ jobs:
ports: ports:
- 32000:32000 - 32000:32000
steps: steps:
- name: Build and push to local registry - name: checkout code
uses: docker/build-push-action@v5 uses: actions/checkout@v4
with:
context: . - name: Build Docker image
push: true run: docker build . --file Dockerfile --tag localhost:32000/scrapper:latest
tags: localhost:32000/scrapper:latest
- name: Inspect - name: push image to registry
run: | run: docker push localhost:32000/scrapper:latest
docker buildx imagetools inspect localhost:32000/scrapper:latest