Skip to content

Commit

Permalink
Release-drafter: Checkout to version (#9231)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik authored Jan 10, 2024
1 parent 614690a commit c8d6aed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/fetch-oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

# load docker images from build jobs
- name: Load images from artifacts
uses: actions/download-artifact@v3
with:
ref: ${{github.event.inputs.version}}

- name: Load docker images
run: |-
docker load -i nginx/nginx-alpine_img
docker load -i django/django-alpine_img
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: alpine
NGINX_VERSION: alpine
DJANGO_VERSION: ${{github.event.inputs.version}}-alpine
NGINX_VERSION: ${{github.event.inputs.version}}-alpine

- name: Download OpenAPI Specifications
run: |-
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ on:
- master

jobs:
build-docker-containers:
uses: ./.github/workflows/build-docker-images-for-testing.yml
secrets: inherit

oas-fetch:
needs: build-docker-containers
uses: ./.github/workflows/fetch-oas.yml
secrets: inherit

Expand Down

0 comments on commit c8d6aed

Please sign in to comment.