From a91580b75fdb4b9ab1a5acfb048543f691aed421 Mon Sep 17 00:00:00 2001 From: Abner Rizzi Date: Thu, 10 Aug 2023 08:54:45 -0300 Subject: [PATCH] test build and push --- .github/workflows/build-push-ghcr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-push-ghcr.yml b/.github/workflows/build-push-ghcr.yml index 4870fa7..ec2762e 100644 --- a/.github/workflows/build-push-ghcr.yml +++ b/.github/workflows/build-push-ghcr.yml @@ -15,9 +15,9 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build the hello-docker Docker image run: | + echo "Builing and push..." repo_name=${{ github.repository }} repo_name=${repo_name,,} - echo ${reponame} docker build . -f Dockerfile.base --tag ghcr.io/${repo_name}:latest - #docker run ghcr.io/deselikem/hello-docker-gcr-demo:latest - #docker push ghcr.io/deselikem/hello-docker-gcr-demo:latest \ No newline at end of file + docker run ghcr.io/${repo_name}:latest + docker push ghcr.io/${repo_name}:latest \ No newline at end of file