Update Docker build command and variable names
This commit is contained in:
parent
b12bc0a52f
commit
12fece4ebc
@ -69,11 +69,11 @@ jobs:
|
||||
ls ${{ gitea.workspace }}
|
||||
- name: Build Dockerfile
|
||||
run: |
|
||||
docker build -t $(basename ${{ github.repository | tr '[:upper:]' '[:lower:]' }}) .
|
||||
docker build -t $(basename ${{ github.repository}} | tr '[:upper:]' '[:lower:]') .
|
||||
docker image ls
|
||||
- name: Upload Docker image to soaska.ru
|
||||
run: |
|
||||
package_name=$(basename ${{ github.repository | tr '[:upper:]' '[:lower:]' }})
|
||||
package_name=$(basename ${{ github.repository}} | tr '[:upper:]' '[:lower:]')
|
||||
branch_name=$(git rev-parse --abbrev-ref HEAD | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
docker login -u ${{ secrets.username }} -p ${{ secrets.password }} soaska.ru
|
||||
|
Loading…
Reference in New Issue
Block a user