Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/component_docker_publish_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: true
type: string
workflow_call:
secrets:
OHAI_DOCKER_HUB_ID:
required: true
OHAI_DOCKER_HUB_PASSWORD:
required: true
inputs:
TAG:
required: true
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/prerelease_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,20 @@
shell: bash
run: build/upload_artifacts_gh.sh

packaging-docker-windows:
name: Build and publish Windows Docker RC images
needs: [ unit-test ]
uses: ./.github/workflows/component_docker_build_windows.yml
secrets:
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}}
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}}
PFX_CERTIFICATE_BASE64: ${{ secrets.OHAI_PFX_CERTIFICATE_BASE64 }}
PFX_PASSPHRASE: ${{ secrets.OHAI_PFX_PASSPHRASE }}
with:
TAG: ${{ github.event.release.tag_name }}
PUBLISH: true

publishing-to-s3:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
name: Publish windows artifacts into s3 staging bucket
uses: ./.github/workflows/component_windows_publish.yml
needs: [ packaging ]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,15 @@
TAG: ${{ github.event.release.tag_name }}
ASSETS_TYPE: "all"

publish-docker-images-windows:
uses: ./.github/workflows/component_docker_publish_windows.yml
secrets:
OHAI_DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}}
OHAI_DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}}
with:
TAG: ${{ github.event.release.tag_name }}

molecule-packaging-tests:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
uses: ./.github/workflows/component_molecule_packaging.yml
needs: [publishing-to-s3-linux, purge-cdn]
with:
Expand Down
Loading