From d6d781e0d9fa4fe1e46a66ab84d880d143a9b145 Mon Sep 17 00:00:00 2001 From: deyvisonborges Date: Tue, 23 Apr 2024 10:23:19 -0300 Subject: [PATCH] #005 - adjusts on workflow --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8759ec0..9a15390 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,6 +56,6 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} run: | - docker build -t $DOCKER_USERNAME/${{ github.repository }}:${{ github.sha }} . + docker build -t ${{ github.repository.name }}:${{ github.sha }} . docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - docker push $DOCKER_USERNAME/${{ github.repository }}:${{ github.sha }} + docker push ${{ github.repository }}:${{ github.sha }}