Update build.yaml with Docker commands
This commit is contained in:
parent
a4681c3cc6
commit
e41d8a3244
@ -53,7 +53,9 @@ jobs:
|
||||
apk add --no-cache docker
|
||||
- name: Start Docker service
|
||||
run: |
|
||||
dockerd & sleep 5 && docker ps -a
|
||||
dockerd &
|
||||
sleep 5
|
||||
docker info
|
||||
- name: Get Binary from soaska.ru
|
||||
run: |
|
||||
package_name=$(basename ${{ github.repository | tr '[:upper:]' '[:lower:]' }})
|
||||
@ -67,9 +69,7 @@ jobs:
|
||||
ls ${{ gitea.workspace }}
|
||||
- name: Build Dockerfile
|
||||
run: |
|
||||
package_name=$(basename ${{ github.repository | tr '[:upper:]' '[:lower:]' }})
|
||||
branch_name=$(git rev-parse --abbrev-ref HEAD | tr '[:upper:]' '[:lower:]')
|
||||
docker build -t $package_name .
|
||||
docker build -t $(basename ${{ github.repository }}) .
|
||||
- name: Upload Docker image to soaska.ru
|
||||
run: |
|
||||
package_name=$(basename ${{ github.repository | tr '[:upper:]' '[:lower:]' }})
|
||||
|
Loading…
Reference in New Issue
Block a user