Refactor deployment workflow: streamline steps and update image push process
Build and Push Agent API / build (push) Failing after 8s
Build and Push Agent API / build (push) Failing after 8s
This commit is contained in:
@@ -9,10 +9,15 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: home
|
runs-on: home
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: docker:24-cli
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Show files
|
||||||
run: |
|
run: ls -la
|
||||||
git clone http://gitea:3000/TimHoogervorst/Agents.git .
|
|
||||||
|
- name: Verify docker
|
||||||
|
run: docker version
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
@@ -20,6 +25,6 @@ jobs:
|
|||||||
-t 192.168.1.185:5010/agents-api:latest \
|
-t 192.168.1.185:5010/agents-api:latest \
|
||||||
-f docker/Dockerfile .
|
-f docker/Dockerfile .
|
||||||
|
|
||||||
- name: Push image to registry
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
docker push 192.168.1.185:5010/agents-api:latest
|
docker push 192.168.1.185:5010/agents-api:latest
|
||||||
Reference in New Issue
Block a user