Skip to content

fix: Since yesterday Buildah has been failing as seen below #50

@dperson

Description

@dperson

When running the github-action (on my custom ublue build) I'm now getting the below failure, starting with yesterday's scheduled build:

Run blue-build/github-action@v1
Run actions/checkout@v4
Syncing repository: dperson/silver-ublue
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/02a0478c-20af-436e-8d2e-f6470bc12876' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/silver-ublue/silver-ublue
Deleting the contents of '/home/runner/work/silver-ublue/silver-ublue'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format='%H'
'ac19d42787d1609f6dd18acc242d25a4d8b80ea5'
Run if [[ "false" == "true" ]]; then
Run podman run \
Trying to pull ghcr.io/blue-build/cli:v0.8-alpine...
Getting image source signatures
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:a5d78f6d0188b41d8653aef603f25781dcb94d11c117242c1835fa31837f545e
Copying blob sha256:d25f557d7f31bf7acfac935859b5153da41d13c41f2b468d16f729a5b883634f
Copying blob sha256:c74c1c3b4ce91aa5043e919fe81feffa57027b1324b1631e9b10ed6d34514c94
Copying blob sha256:ef932fc9d23cc2b5b24e5e8ef883d1520461c3f470c62be0bcc0ab12901ff1d8
Copying blob sha256:464a1e232b3865b75c9c6f58a5c818128a56b1748f5b0f1e518a228f3349bb37
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:e38b324506f167260fc72cbd34898d88478259ea365969f9d3dfc5cf2688abbf
Copying blob sha256:d25f557d7f31bf7acfac935859b5153da41d13c41f2b468d16f729a5b883634f
Copying blob sha256:464a1e232b3865b75c9c6f58a5c818128a56b1748f5b0f1e518a228f3349bb37
Copying blob sha256:ef932fc9d23cc2b5b24e5e8ef883d1520461c3f470c62be0bcc0ab12901ff1d8
Copying blob sha256:a5d78f6d0188b41d8653aef603f25781dcb94d11c117242c1835fa31837f545e
Copying blob sha256:c74c1c3b4ce91aa5043e919fe81feffa57027b1324b1631e9b10ed6d34514c94
Copying blob sha256:e38b324506f167260fc72cbd34898d88478259ea365969f9d3dfc5cf2688abbf
Copying config sha256:92ff032986a654429f52dd6cfc1359d9b772908017a3a57d888d8337da0ed57a
Writing manifest to image destination
Storing signatures
[01:09:59 DEBUG] => Cosign files match, continuing build
[01:09:59  INFO] => Attempting to login to the registry
[01:09:59  INFO] => Logging into the registry, ghcr.io
[01:09:59 ERROR] => Failed to login for buildah: time="2024-05-30T01:09:59Z" level=warning msg="Error loading default container config when searching for local runtime: lstat /run/user: no such file or directory"
time="2024-05-30T01:09:59Z" level=error msg="failed to setup From and Build flags: failed to get default container config: lstat /run/user: no such file or directory"

Error: Process completed with exit code 1.

Excerpt of the relevant action from the YAML:

jobs:
  bluebuild:
    name: Build Custom Image
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
      id-token: write
    strategy:
      fail-fast: false # stop GH from cancelling all matrix builds if one fails
      matrix:
        recipe: # !! Add your recipes here
          - recipe.yml
          #- recipe-beta.yml
    steps: # the build is fully handled by the reusable github action
      - name: Build Custom Image
        uses: blue-build/github-action@v1
        with:
          recipe: ${{ matrix.recipe }}
          cosign_private_key: ${{ secrets.SIGNING_SECRET }}
          registry_token: ${{ github.token }}
          pr_event_number: ${{ github.event.number }}
          squash: true

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions