.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 10s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 10s
This commit is contained in:
parent
a5daa7bbc4
commit
f4164f9a15
1 changed files with 5 additions and 0 deletions
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
|
@ -35,11 +35,16 @@ jobs:
|
|||
run: sed -i "s/{{APP_VERSION}}/${{ github.sha }}/g" Dockerfile
|
||||
|
||||
- name: Build App Image
|
||||
# Zwingt das Docker-CLI, den Socket über den gemappten Runner-Pfad anzusprechen
|
||||
env:
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
run: |
|
||||
docker build -t nginx/${{ github.repository }}:${{ github.sha }} .
|
||||
docker build -t nginx/${{ github.repository }}:latest .
|
||||
|
||||
- name: Push App Image
|
||||
env:
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
run: |
|
||||
docker push nginx/${{ github.repository }}:${{ github.sha }}
|
||||
docker push nginx/${{ github.repository }}:latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue