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:
|
||||
runs-on: home
|
||||
|
||||
container:
|
||||
image: docker:24-cli
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
run: |
|
||||
git clone http://gitea:3000/TimHoogervorst/Agents.git .
|
||||
- name: Show files
|
||||
run: ls -la
|
||||
|
||||
- name: Verify docker
|
||||
run: docker version
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
@@ -20,6 +25,6 @@ jobs:
|
||||
-t 192.168.1.185:5010/agents-api:latest \
|
||||
-f docker/Dockerfile .
|
||||
|
||||
- name: Push image to registry
|
||||
- name: Push image
|
||||
run: |
|
||||
docker push 192.168.1.185:5010/agents-api:latest
|
||||
Reference in New Issue
Block a user