12
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
Details
This commit is contained in:
parent
6159de9804
commit
c19b1b80bc
|
@ -28,6 +28,15 @@ jobs:
|
||||||
# apt-get install -y golang
|
# apt-get install -y golang
|
||||||
# - name: Set Go Proxy
|
# - name: Set Go Proxy
|
||||||
# run: go env -w GOPROXY=https://goproxy.cn,direct
|
# run: go env -w GOPROXY=https://goproxy.cn,direct
|
||||||
|
|
||||||
|
- name: Stop and remove previous Docker containers
|
||||||
|
run: |
|
||||||
|
docker ps -q --filter "ancestor=my-docker-image" | xargs -r docker stop
|
||||||
|
docker ps -a -q --filter "ancestor=my-docker-image" | xargs -r docker rm
|
||||||
|
|
||||||
|
- name: Remove previous Docker images
|
||||||
|
run: |
|
||||||
|
docker images -q my-docker-image | xargs -r docker rmi
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build -t my-docker-image .
|
run: docker build -t my-docker-image .
|
||||||
- name: Deploy to local Docker
|
- name: Deploy to local Docker
|
||||||
|
|
Loading…
Reference in New Issue