-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve building and deploying containers #490
Conversation
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/49c9aaa3806d3ba63fc576cc1dc923732be8671d/containers/sandbox-with-ghcr.bash') '49c9aaa3806d3ba63fc576cc1dc923732be8671d' The package detail {
"created_at": "2024-03-17T01:31:46Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191929543",
"id": 191929543,
"metadata": {
"container": {
"tags": [
"20240317-012655-utc",
"49c9aaa3806d3ba63fc576cc1dc923732be8671d",
"pr-490-49c9aaa3806d3ba63fc576cc1dc923732be8671d"
]
},
"package_type": "container"
},
"name": "sha256:623b4e77e277f5cf845480beead2a66d051088c4613068329740c73aa503d7fc",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T01:31:46Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191929543"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/fe13f8d2eb9c99ee35522ff2dab052d1fbf4d6c0/containers/sandbox-with-ghcr.bash') 'fe13f8d2eb9c99ee35522ff2dab052d1fbf4d6c0' The package detail {
"created_at": "2024-03-17T01:46:39Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191932658",
"id": 191932658,
"metadata": {
"container": {
"tags": [
"20240317-014200-utc",
"fe13f8d2eb9c99ee35522ff2dab052d1fbf4d6c0",
"pr-490-fe13f8d2eb9c99ee35522ff2dab052d1fbf4d6c0"
]
},
"package_type": "container"
},
"name": "sha256:3e18eb494c2aaf4ffe841117aeb7d94138a8b22203fb8cfd2f32f91f2766fede",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T01:46:39Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191932658"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
stacked pulling this image 🤔
|
Available again after recreate podman machine |
# Update crun: https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/ | ||
# TODO: Integrate selfup here | ||
CRUN_VER='1.14.4' | ||
mkdir -p "${HOME}/.local/bin" | ||
curl -L "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" -o "${HOME}/.local/bin/crun" | ||
chmod +x "${HOME}/.local/bin/crun" | ||
# We can remove this since ubuntu-24.04, but keeping maybe better | ||
- name: Update crun in podman | ||
run: | | ||
mkdir -p "${HOME}/.config/containers" | ||
cat << EOF > "${HOME}/.config/containers/containers.conf" | ||
[engine.runtimes] | ||
crun = [ | ||
"${HOME}/.local/bin/crun", | ||
"/usr/bin/crun" | ||
] | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crun version 1.14.4 in both before and after
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/69a77bab69568f2cf98755af9e86361bbb266b53/containers/sandbox-with-ghcr.bash') '69a77bab69568f2cf98755af9e86361bbb266b53' The package detail {
"created_at": "2024-03-17T03:01:45Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191944095",
"id": 191944095,
"metadata": {
"container": {
"tags": [
"20240317-025702-utc",
"69a77bab69568f2cf98755af9e86361bbb266b53",
"pr-490-69a77bab69568f2cf98755af9e86361bbb266b53"
]
},
"package_type": "container"
},
"name": "sha256:9756966fb8c9dbae39c7df267e21198cc6891b2ff8a023a9c0311ca757a72bdb",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T03:01:45Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191944095"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/4a202fef9f05afedce9083d8c6160d2be9cd7624/containers/sandbox-with-ghcr.bash') '4a202fef9f05afedce9083d8c6160d2be9cd7624' The package detail {
"created_at": "2024-03-17T04:14:07Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191952640",
"id": 191952640,
"metadata": {
"container": {
"tags": [
"20240317-040935-utc",
"4a202fef9f05afedce9083d8c6160d2be9cd7624",
"pr-490-4a202fef9f05afedce9083d8c6160d2be9cd7624"
]
},
"package_type": "container"
},
"name": "sha256:d8d1a8c189ac67a7b1e047ddbb821e079dda3f2b3df4df0b74da51730d28c7f3",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T04:14:07Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191952640"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/474b86c84f9bcbe35571b5e8a2b18d0d0e9b280e/containers/sandbox-with-ghcr.bash') '474b86c84f9bcbe35571b5e8a2b18d0d0e9b280e' The package detail {
"created_at": "2024-03-17T05:01:59Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191958650",
"id": 191958650,
"metadata": {
"container": {
"tags": [
"20240317-045718-utc",
"474b86c84f9bcbe35571b5e8a2b18d0d0e9b280e",
"pr-490-474b86c84f9bcbe35571b5e8a2b18d0d0e9b280e"
]
},
"package_type": "container"
},
"name": "sha256:4da971cad2332361e1a1fff20110dcbbfa9ad37aa439306f1deb733ed2bdb2cd",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T05:01:59Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191958650"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/974c902f5b117a692044d6cbe09459a533ea012c/containers/sandbox-with-ghcr.bash') '974c902f5b117a692044d6cbe09459a533ea012c' The package detail {
"created_at": "2024-03-17T07:16:49Z",
"html_url": "https://github.com/users/kachick/packages/container/home/191975347",
"id": 191975347,
"metadata": {
"container": {
"tags": [
"20240317-071214-utc",
"974c902f5b117a692044d6cbe09459a533ea012c",
"pr-490-974c902f5b117a692044d6cbe09459a533ea012c"
]
},
"package_type": "container"
},
"name": "sha256:1983e40202516cc214b1c028c060a20d1a80bedeac2b29b7491e11b8243a8c42",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T07:16:49Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/191975347"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
Import from kachick/dotfiles#490
|
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images Since buildah 1.35...? (Cant install even if using kubic) |
⬢🦭 Staging container-image has been deployed 🚀 bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/8232d73a387e5f066690291487e6fcddda4955ab/containers/sandbox-with-ghcr.bash') '8232d73a387e5f066690291487e6fcddda4955ab' The package detail {
"created_at": "2024-03-17T18:38:46Z",
"html_url": "https://github.com/users/kachick/packages/container/home/192053217",
"id": 192053217,
"metadata": {
"container": {
"tags": [
"20240317-183419-utc",
"8232d73a387e5f066690291487e6fcddda4955ab",
"pr-490-8232d73a387e5f066690291487e6fcddda4955ab"
]
},
"package_type": "container"
},
"name": "sha256:987f4a07c19e83fa18748c5b758e5ae67781769c75a85b2beea554d65ddc76c3",
"package_html_url": "https://github.com/users/kachick/packages/container/package/home",
"updated_at": "2024-03-17T18:38:46Z",
"url": "https://api.github.com/users/kachick/packages/container/home/versions/192053217"
}
This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌 |
🤖 removed 🗑️ staging ⬢ from ghcr.io
|
May fix #471