From d35a849aaa364355eb657b769f0c0494534cea93 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 26 Sep 2024 15:27:40 -0600 Subject: [PATCH] CI: fix some typos --- .github/workflows/continuous-integration-workflow.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index de3d2b6..4bdc122 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -65,10 +65,10 @@ jobs: - name: Generate platforms id: platforms run: | - if [ "${{ matrix.config.dockerfile }}::${{ matrix.config.tag }}" = "fedora:latest" ]; then - echo "linux/amd64,linux/arm64" >> $GITHUB_OUTPUT + if [ "${{ matrix.config.dockerfile }}:${{ matrix.config.tag }}" = "fedora:latest" ]; then + echo "platforms=linux/amd64,linux/arm64" >> $GITHUB_OUTPUT else - echo "linux/amd64" >> $GITHUB_OUTPUT + echo "platforms=linux/amd64" >> $GITHUB_OUTPUT fi - name: Build and Push Docker images for all Container Registries uses: docker/build-push-action@v3 @@ -80,3 +80,4 @@ jobs: build-args: ${{ steps.build_args.outputs.args }} pull: true push: ${{ github.repository_owner == 'votca' && ( github.event_name == 'push' || github.event_name == 'schedule' ) }} + platforms: ${{ steps.platforms.outputs.platforms }}