.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
2ac0d96832
commit
d4f3c42b50
1 changed files with 12 additions and 0 deletions
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
|
|
@ -9,6 +9,12 @@ jobs:
|
|||
test-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
|
||||
# --- DIESER BLOCK SCHALTET DIE SCHREIBRECHTE FREI ---
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write # Erlaubt den Push in die Container-Registry!
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -19,6 +25,12 @@ jobs:
|
|||
chmod +x /usr/local/bin/terraform
|
||||
terraform --version
|
||||
|
||||
- name: Trust Local Nginx Certificate Inside Container
|
||||
run: |
|
||||
mkdir -p /usr/local/share/ca-certificates/
|
||||
cp nginx_ssl/nginx.crt /usr/local/share/ca-certificates/nginx-sandbox.crt 2>/dev/null || echo "Nutze Workspace-Zertifikat"
|
||||
update-ca-certificates
|
||||
|
||||
- name: Log in to Local Registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login localhost:3005 -u ${{ github.actor }} --password-stdin
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue