test build and push

This commit is contained in:
Abner Rizzi 2023-08-10 07:27:57 -03:00
parent db0f4844df
commit bc91d6e2f1
1 changed files with 4 additions and 5 deletions

View File

@ -20,13 +20,12 @@ jobs:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: set lower case repo_name
run: |
echo "REPO_NAME_LC=${REPO_NAME,,}" >>${GITHUB_ENV}
- name: 'Build Inventory Image'
env:
REPO_NAME: '${{ github.event.repository.name }}'
- name: 'Build Inventory Image'
run: |
echo REPONAME: $REPO_NAME
echo {REPONAME}: ${REPO_NAME}
echo {{REPONAME}}: ${{REPO_NAME}}
docker build . -f Dockerfile.base --tag ghcr.io/abnerrizzi/${REPO_NAME}:latest
docker push ghcr.io/abnerrizzi/${REPO_NAME}:latest