{"id":28551859,"url":"https://github.com/sws-computersysteme/action_acr_build","last_synced_at":"2026-01-16T10:18:05.108Z","repository":{"id":290515696,"uuid":"974702140","full_name":"sws-computersysteme/action_acr_build","owner":"sws-computersysteme","description":"Github Action","archived":false,"fork":false,"pushed_at":"2026-01-14T08:45:51.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T11:10:58.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sws-computersysteme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-29T07:15:25.000Z","updated_at":"2026-01-14T08:44:09.000Z","dependencies_parsed_at":"2025-07-03T17:50:18.684Z","dependency_job_id":null,"html_url":"https://github.com/sws-computersysteme/action_acr_build","commit_stats":null,"previous_names":["sws-computersysteme/action_acr_build"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sws-computersysteme/action_acr_build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws-computersysteme%2Faction_acr_build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws-computersysteme%2Faction_acr_build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws-computersysteme%2Faction_acr_build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws-computersysteme%2Faction_acr_build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sws-computersysteme","download_url":"https://codeload.github.com/sws-computersysteme/action_acr_build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws-computersysteme%2Faction_acr_build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T04:07:13.494Z","updated_at":"2026-01-16T10:18:05.102Z","avatar_url":"https://github.com/sws-computersysteme.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACP Github Code zu Dockerimage im Azure Repository\n\nBuildet und pusht ein Docker-Image direkt in eine **Azure Container Registry (ACR)** – einfach und automatisiert mit GitHub Actions!\n\n## Features\n\n- Login bei Azure per Service Principal\n- Build eines Docker-Images aus einem GitHub-Repository\n- Push des Images direkt in eine ACR\n- Unterstützt private Git-Repositories über GitHub Access Token\n- Automatische Nutzung der `.node-version`-Datei für Build-Argumente\n- Flexible Build-Argumente über JSON\n\n## Inputs\n\n| Name | Beschreibung | Erforderlich | Standardwert |\n|:-----|:--------------|:-------------|:-------------|\n| `service_principal` | Service Principal mit Contributor-Rechten auf der ACR | ✅ | - |\n| `service_principal_password` | Passwort des Service Principals | ✅ | - |\n| `tenant` | Azure Tenant ID | ✅ | - |\n| `registry` | Name der ACR (ohne `.azurecr.io`) | ✅ | - |\n| `repository` | Name des Repositorys (wird sonst automatisch erkannt) | ❌ | aktuelles Repo |\n| `git_access_token` | GitHub Access Token (optional - nutzt lokalen Checkout wenn nicht angegeben) | ❌ | - |\n| `image` | Docker-Image-Name | ❌ | leer |\n| `tag` | Docker-Tag (Standard: Commit SHA) | ❌ | aktueller Git-Ref |\n| `branch` | Branch, aus dem gebaut wird | ❌ | `master` |\n| `folder` | Ordner im Repository mit dem Docker-Quellcode | ✅ | - |\n| `dockerfile` | Pfad zur `Dockerfile` | ❌ | `./Dockerfile` |\n| `build_args` | Build-Argumente als JSON | ❌ | - |\n\n## Outputs\n\n| Name | Beschreibung |\n|:-----|:-------------|\n| `ci_repository_name` | Repository-Name ohne Owner |\n| `ci_action_ref_name` | Branch oder Tag-Name, der den Workflow ausgelöst hat |\n| `node_version` | Aus `.node-version` gelesene Node.js-Version |\n\n## Beispiel-Verwendung\n\n```yaml\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Azure Build and Push\n        uses: sws-computersysteme/action_acr_build@v1\n        with:\n          service_principal: ${{ secrets.AZURE_SP_USERNAME }}\n          service_principal_password: ${{ secrets.AZURE_SP_PASSWORD }}\n          tenant: ${{ secrets.AZURE_TENANT }}\n          registry: myregistry\n          git_access_token: ${{ secrets.GIT_ACCESS_TOKEN }}\n          folder: src\n          image: my-app\n          tag: latest\n```\n\nMIT License © 2025 Stefan Bess","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsws-computersysteme%2Faction_acr_build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsws-computersysteme%2Faction_acr_build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsws-computersysteme%2Faction_acr_build/lists"}