ci: login registry
All checks were successful
Build and Deploy / build-server (push) Successful in 26s
Build and Deploy / sonarqube (push) Has been skipped
Build and Deploy / dependency-track (push) Successful in 26s
Build and Deploy / build-push-server-container (push) Successful in 1m2s
Build and Deploy / dependency-track-container (push) Successful in 35s

This commit is contained in:
Timothy Schenk 2023-11-03 15:16:03 +01:00
parent dad5e99f0f
commit 825aad7802

View file

@ -125,6 +125,12 @@ jobs:
run: | run: |
mkdir ~/.docker mkdir ~/.docker
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sh -s -- curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sh -s --
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Generate SBOM - name: Generate SBOM
run: | run: |
docker sbom forge.rainote.dev/${{ github.repository }}:${{ github.ref_name }} --format cyclonedx-json --output bom.json docker sbom forge.rainote.dev/${{ github.repository }}:${{ github.ref_name }} --format cyclonedx-json --output bom.json