mirror of https://github.com/1N3/Sn1per.git
test build and push
This commit is contained in:
parent
6594a7652d
commit
7e9991e167
|
|
@ -20,7 +20,13 @@ jobs:
|
|||
username: ${{github.actor}}
|
||||
password: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: set lower case repo_name
|
||||
run: |
|
||||
echo "REPO_NAME_LC=${REPO_NAME,,}" >>${GITHUB_ENV}
|
||||
env:
|
||||
REPO_NAME: '${{ github.event.repository.name }}'
|
||||
|
||||
- name: 'Build Inventory Image'
|
||||
run: |
|
||||
docker build . -f Dockerfile.base --tag ghcr.io/abnerrizzi/${{ github.event.repository.name }}:latest
|
||||
docker push ghcr.io/abnerrizzi/${{ github.event.repository.name }}:latest
|
||||
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