Skip to content

Commit

Permalink
Update release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Jan 22, 2024
1 parent 91e28aa commit ff7607e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/fetch-oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.version}}
ref: ${{ github.event.inputs.version }}

- name: Load docker images
run: |-
docker pull defectdojo/defectdojo-django:${{github.event.inputs.version}}-alpine
docker pull defectdojo/defectdojo-nginx:${{github.event.inputs.version}}-alpine
docker pull defectdojo/defectdojo-django:${{ github.event.inputs.version }}-alpine
docker pull defectdojo/defectdojo-nginx:${{ github.event.inputs.version }}-alpine
docker images
- name: Start Dojo
run: docker-compose --profile postgres-redis --env-file ./docker/environments/postgres-redis.env up --no-deps -d postgres nginx uwsgi
env:
DJANGO_VERSION: ${{github.event.inputs.version}}-alpine
NGINX_VERSION: ${{github.event.inputs.version}}-alpine
DJANGO_VERSION: ${{ github.event.inputs.version }}-alpine
NGINX_VERSION: ${{ github.event.inputs.version }}-alpine

- name: Download OpenAPI Specifications
run: |-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
id: create_release
uses: release-drafter/[email protected]
with:
version: ${{github.event.inputs.version}}
version: ${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Generate the OAS schemas in another workflow
oas-fetch:
needs: update_release_draft
uses: ./.github/workflows/fetch-oas.yml
with:
version: ${{github.event.inputs.version}}
version: ${{ github.event.inputs.version }}
secrets: inherit
# Upload the OAS schemas to the release object
add-oas-to-release:
Expand Down

0 comments on commit ff7607e

Please sign in to comment.