From b330f907e507d31dc339e03c1517ddf6de34cfcf Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 24 Jan 2023 14:00:17 -0500 Subject: [PATCH] build: Re-enable init on force --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fff1776..9917b62 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,7 +38,7 @@ jobs: run: podman login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }} if: github.event_name != 'pull_request' # Make force triggering a build always build the image - #- run: echo "force_initialize=1" >> $GITHUB_ENV - # if: github.event_name == 'workflow_dispatch' + - run: echo "force_initialize=1" >> $GITHUB_ENV + if: github.event_name == 'workflow_dispatch' - name: Build ostree container run: rpm-ostree compose image --format=registry ${force_initialize:+--initialize} ${{ matrix.os }}.yaml ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.os }}-oscore