Skip to content

Commit

Permalink
complete
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Steiner <[email protected]>
  • Loading branch information
Robert-Steiner committed Sep 9, 2024
1 parent 6ddee18 commit 25797eb
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/docker-cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
# At 01:00 on Monday.
- cron: "0 1 * * 1"
workflow_dispatch:
push:

jobs:
parameters:
Expand All @@ -26,6 +25,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# ref: v${{ steps.flwr-version.outputs.flwr-version }}
ref: v${{ steps.flwr-version.outputs.flwr-version }}

- uses: ./.github/actions/bootstrap
Expand All @@ -47,8 +47,7 @@ jobs:
fail-fast: false
matrix: ${{ fromJson(needs.parameters.outputs.matrix).base }}
with:
# namespace-repository: ${{ matrix.images.namespace_repository }}
namespace-repository: flwr/github-ci-test-builds
namespace-repository: ${{ matrix.images.namespace_repository }}
file-dir: ${{ matrix.images.file_dir }}
build-args: |
PYTHON_VERSION=${{ matrix.images.python_version }}
Expand All @@ -62,19 +61,19 @@ jobs:
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}

# build-binary-images:
# if: ${{ github.repository == 'adap/flower' }}
# name: Build binary images
# uses: ./.github/workflows/_docker-build.yml
# needs: [parameters, build-base-images]
# strategy:
# fail-fast: false
# matrix: ${{ fromJson(needs.parameters.outputs.matrix).binary }}
# with:
# namespace-repository: ${{ matrix.images.namespace_repository }}
# file-dir: ${{ matrix.images.file_dir }}
# build-args: BASE_IMAGE=${{ matrix.images.base_image }}
# tags: ${{ matrix.images.tags }}
# secrets:
# dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}
# dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
build-binary-images:
if: ${{ github.repository == 'adap/flower' }}
name: Build binary images
uses: ./.github/workflows/_docker-build.yml
needs: [parameters, build-base-images]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parameters.outputs.matrix).binary }}
with:
namespace-repository: ${{ matrix.images.namespace_repository }}
file-dir: ${{ matrix.images.file_dir }}
build-args: BASE_IMAGE=${{ matrix.images.base_image }}
tags: ${{ matrix.images.tags }}
secrets:
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 25797eb

Please sign in to comment.