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:
- 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