Skip to content

[Enhancement]: Support core24 #27

Description

@jpm-canonical

What changes would you like?

Trying to build a snap using core24 as base fails. The error is provided below. It looks like the docker container used for this action is not using a recent version of snapcraft that understand/knows about core24.

Any extra information?

Run diddlesnaps/snapcraft-multiarch-action@v1
  with:
    architecture: arm64
    path: .
    use-podman: false
    build-info: true
    snapcraft-channel: stable
  env:
    ARTIFACT_AMD64: tf-label-image_6_amd64
    ARTIFACT_ARM64: tf-label-image_6_arm64
Building Snapcraft project in "."...
/usr/bin/bash -c echo '{"exec-opts":["native.cgroupdriver=cgroupfs"],"cgroup-parent":"/actions_job","experimental":true}' | sudo tee /etc/docker/daemon.json
{"exec-opts":["native.cgroupdriver=cgroupfs"],"cgroup-parent":"/actions_job","experimental":true}
/usr/bin/sudo systemctl restart docker
Error: Your build requires a base that this tool does not support (core[2](https://github.com/jpm-canonical/tf-label-image-snap/actions/runs/9809019475/job/27086167104#step:4:2)4). 'base' or 'build-base' in your 'snapcraft.yaml' must be one of 'core', 'core18' or 'core20'.

Edit: #26 seems to solve this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions