Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwildt authored Mar 17, 2024
1 parent 358b867 commit 279f7f8
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
with:
name: dependency-track-apiserver.sbom.json
path: dependency-track-apiserver.sbom.json
- name: Login Registry
run: echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
- name: Docker Push
run: docker push registry.ohrenpirat.de:5000/mwildt/dependency-track-apiserver:latest

- name: Push Image
if: ${{ github.ref == 'refs/heads/master' }}
run: |
echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
docker push registry.ohrenpirat.de:5000/mwildt/dependency-track-apiserver:latest
build-frontend:
runs-on: ubuntu-latest
Expand All @@ -52,7 +52,8 @@ jobs:
with:
name: dependency-track-frontend.sbom.json
path: dependency-track-frontend.sbom.json
- name: Login Registry
run: echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
- name: Docker Push
run: docker push registry.ohrenpirat.de:5000/mwildt/dependency-track-frontend:latest
- name: Push Image
if: ${{ github.ref == 'refs/heads/master' }}
run: |
echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
docker push registry.ohrenpirat.de:5000/mwildt/dependency-track-frontend:latest

0 comments on commit 279f7f8

Please sign in to comment.