test build and push

This commit is contained in:
Abner Rizzi 2023-08-10 07:29:16 -03:00
parent bc91d6e2f1
commit 9806956b95
1 changed files with 4 additions and 5 deletions

View File

@ -24,8 +24,7 @@ jobs:
env: env:
REPO_NAME: '${{ github.event.repository.name }}' REPO_NAME: '${{ github.event.repository.name }}'
run: | run: |
echo REPONAME: $REPO_NAME echo "OWNER_LC=${github.event.repository.name,,}" >>${GITHUB_ENV}
echo {REPONAME}: ${REPO_NAME} echo {OWNER_LC}: ${OWNER_LC}
echo {{REPONAME}}: ${{REPO_NAME}} # docker build . -f Dockerfile.base --tag ghcr.io/abnerrizzi/${REPO_NAME}:latest
docker build . -f Dockerfile.base --tag ghcr.io/abnerrizzi/${REPO_NAME}:latest # docker push ghcr.io/abnerrizzi/${REPO_NAME}:latest
docker push ghcr.io/abnerrizzi/${REPO_NAME}:latest