Skip to content

Commit

Permalink
ci: update release build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Mar 13, 2024
1 parent d4a7ef6 commit 92f78f8
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,20 @@ jobs:

build-redis-populator:
name: Build Redis populator
uses: ./.github/workflows/build-image.yml
runs-on: ubuntu-latest
needs: [ set-release-version ]
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
with:
registry: '${{ secrets.VBR_BUILD_DOCKER_REGISTRY_TST }}/redis'
image-file: redis-populator-image.tar
image-name: redis-populator
test-project: Be.Vlaanderen.Basisregisters.Redis.Populator.Tests
build-project: Be.Vlaanderen.Basisregisters.Redis.Populator
semver: ${{ needs.set-release-version.outputs.version }}
secrets: inherit
steps:
- name: Build
uses: ./.github/workflows/build-image.yml
with:
registry: ${{ secrets.VBR_BUILD_DOCKER_REGISTRY_TST }}/redis
image-file: redis-populator-image.tar
image-name: redis-populator
test-project: Be.Vlaanderen.Basisregisters.Redis.Populator.Tests
build-project: Be.Vlaanderen.Basisregisters.Redis.Populator
semver: ${{ needs.set-release-version.outputs.version }}
#secrets: inherit

release:
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
Expand Down Expand Up @@ -284,4 +287,4 @@ jobs:
env:
CONFLUENCE_TITLE: ${{ env.REPOSITORY_NAME }}
CONFLUENCE_USERNAME: ${{ secrets.VBR_CONFLUENCE_USER }}
CONFLUENCE_PASSWORD: ${{ secrets.VBR_CONFLUENCE_PASSWORD }}
CONFLUENCE_PASSWORD: ${{ secrets.VBR_CONFLUENCE_PASSWORD }}

0 comments on commit 92f78f8

Please sign in to comment.