.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 12s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 12s
This commit is contained in:
parent
f9eb2b1f55
commit
40aef2135c
1 changed files with 6 additions and 6 deletions
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
|
|
@ -25,22 +25,22 @@ jobs:
|
|||
cp nginx_ssl/nginx.crt /usr/local/share/ca-certificates/nginx-sandbox.crt 2>/dev/null || echo "Nutze Workspace-Zertifikat"
|
||||
update-ca-certificates
|
||||
|
||||
# KORRIGIERT: Erzwingt echtes HTTPS für den Nginx-Proxy auf Port 3000
|
||||
# KORRIGIERT: Erzwingt echtes HTTPS über die simulierte Domain
|
||||
- name: Log in to Local Registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://localhost:3000 -u ${{ github.actor }} --password-stdin
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login registry.local:3000 -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Inject Version into Dockerfile
|
||||
run: sed -i "s/{{APP_VERSION}}/${{ github.sha }}/g" Dockerfile
|
||||
|
||||
- name: Build App Image
|
||||
run: |
|
||||
docker build -t localhost:3000/${{ github.repository }}:${{ github.sha }} .
|
||||
docker build -t localhost:3000/${{ github.repository }}:latest .
|
||||
docker build -t registry.local:3000/${{ github.repository }}:${{ github.sha }} .
|
||||
docker build -t registry.local:3000/${{ github.repository }}:latest .
|
||||
|
||||
- name: Push App Image
|
||||
run: |
|
||||
docker push localhost:3000/${{ github.repository }}:${{ github.sha }}
|
||||
docker push localhost:3000/${{ github.repository }}:latest
|
||||
docker push registry.local:3000/${{ github.repository }}:${{ github.sha }}
|
||||
docker push registry.local:3000/${{ github.repository }}:latest
|
||||
|
||||
- name: Terraform Deploy
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue