diff --git a/.github/workflows/create_aca_images.yml b/.github/workflows/create_aca_images.yml index a522d796d..cdf3d11d4 100644 --- a/.github/workflows/create_aca_images.yml +++ b/.github/workflows/create_aca_images.yml @@ -61,7 +61,7 @@ jobs: needs: setup runs-on: ubuntu-latest env: - FILE: env.DOCKERFILE_ROCKY + FILE: ${{ env.DOCKERFILE_ROCKY }} TAG: ${{ needs.setup.outputs.ROCKY_IMAGE_TAG }} steps: - name: Checkout main @@ -90,7 +90,7 @@ jobs: needs: setup runs-on: windows-latest env: - FILE: env.DOCKERFILE_WINDOWS + FILE: ${{ env.DOCKERFILE_WINDOWS }} TAG: ${{ needs.setup.outputs.WINDOWS_IMAGE_TAG }} steps: - name: Checkout main @@ -105,9 +105,10 @@ jobs: - name: Build the docker image for ${{ github.repository }} # docker/setup-buildx-action@v3 and docker/build-push-action@v5 do not work for Windows images. + # --sbom won't work. BuildKit not supported on Windows. run: | cd ./.ci/docker - docker build -f ./Dockerfile.${{env.FILE}} -t ${{env.TAG}} --sbom=true . + docker build -f ./Dockerfile.${{env.FILE}} -t ${{env.TAG}} . - name: Push the docker image run: | @@ -117,7 +118,7 @@ jobs: needs: setup runs-on: windows-latest env: - FILE: env.DOCKERFILE_WINDOWS + FILE: ${{ env.DOCKERFILE_WINDOWS }} TAG: ${{ needs.setup.outputs.WINDOWS_COMPAT_IMAGE_TAG }} steps: - name: Checkout main @@ -132,9 +133,10 @@ jobs: - name: Build the docker image for ${{ github.repository }} # docker/setup-buildx-action@v3 and docker/build-push-action@v5 do not work for Windows images. + # --sbom won't work. BuildKit not supported on Windows. run: | cd ./.ci/docker - docker build -f ./Dockerfile.${{env.FILE}} -t ${{env.TAG}} --build-arg BASE_IMAGE_TAG=lts-windowsservercore-1809 --sbom=true . + docker build -f ./Dockerfile.${{env.FILE}} -t ${{env.TAG}} --build-arg BASE_IMAGE_TAG=lts-windowsservercore-1809 . - name: Push the docker image run: |