.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
This commit is contained in:
parent
4f04c57b87
commit
c793756473
1 changed files with 8 additions and 8 deletions
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
|
|
@ -19,24 +19,24 @@ jobs:
|
|||
chmod +x /usr/local/bin/terraform
|
||||
terraform --version
|
||||
|
||||
# KORRIGIERT: Keine ungültigen Flags mehr. Nutzt den echten HTTPS-Endpunkt
|
||||
# KORRIGIERT: Spricht den internen HTTPS-Port (443) über den Namen 'nginx' an
|
||||
- name: Log in to Local Registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login nginx:3000 -u ${{ github.actor }} --password-stdin
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login nginx -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Inject Version into Dockerfile
|
||||
run: sed -i "s/{{APP_VERSION}}/${{ github.sha }}/g" Dockerfile
|
||||
|
||||
# KORRIGIERT: Taggt das Image passend zur nginx:3000 Registry
|
||||
# KORRIGIERT: Taggt das Image passend zur internen Nginx-SSL-Registry
|
||||
- name: Build App Image
|
||||
run: |
|
||||
docker build -t nginx:3000/${{ github.repository }}:${{ github.sha }} .
|
||||
docker build -t nginx:3000/${{ github.repository }}:latest .
|
||||
docker build -t nginx/${{ github.repository }}:${{ github.sha }} .
|
||||
docker build -t nginx/${{ github.repository }}:latest .
|
||||
|
||||
# KORRIGIERT: Pusht verschlüsselt über das Nginx-SSL-Tor
|
||||
# KORRIGIERT: Pusht verschlüsselt direkt über Nginx
|
||||
- name: Push App Image
|
||||
run: |
|
||||
docker push nginx:3000/${{ github.repository }}:${{ github.sha }}
|
||||
docker push nginx:3000/${{ github.repository }}:latest
|
||||
docker push nginx/${{ github.repository }}:${{ github.sha }}
|
||||
docker push nginx/${{ github.repository }}:latest
|
||||
|
||||
- name: Terraform Deploy
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue