test build and push

This commit is contained in:
Abner Rizzi 2023-08-10 08:45:27 -03:00
parent ade0a84fee
commit 39584865ba
1 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,8 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the hello-docker Docker image
run: |
docker build . --tag ghcr.io/deselikem/hello-docker-gcr-demo:latest
docker run ghcr.io/deselikem/hello-docker-gcr-demo:latest
docker push ghcr.io/deselikem/hello-docker-gcr-demo:latest
container_img = ghcr.io/deselikem/hello-docker-gcr-demo
echo $container_img
docker build . -f Dockerfile.base --tag ghcr.io/deselikem/hello-docker-gcr-demo:latest
#docker run ghcr.io/deselikem/hello-docker-gcr-demo:latest
#docker push ghcr.io/deselikem/hello-docker-gcr-demo:latest