mirror of https://github.com/1N3/Sn1per.git
test build and push
This commit is contained in:
parent
db0f4844df
commit
bc91d6e2f1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue