@@ -66,14 +66,23 @@ jobs:
66
66
67
67
build-image-arm64 :
68
68
name : Rebuild and publish skupper-router arm64 image for an already released tag
69
- runs-on : self-hosted-arm64
69
+ runs-on : ubuntu-24.04-arm
70
70
steps :
71
71
- name : Get the tag name and set it as the CONTAINER_TAG env variable.
72
72
run : |
73
73
echo "CONTAINER_TAG=${{github.event.inputs.tag}}" >> $GITHUB_ENV
74
74
- uses : actions/checkout@v4
75
75
with :
76
76
ref : ${{github.event.inputs.tag}}
77
+ - name : Install podman
78
+ run : |
79
+ sudo apt-get update -qq
80
+ sudo apt-get -qq -y install podman
81
+ podman version
82
+ # Starting systemd user service
83
+ systemctl --user start podman.socket
84
+ echo "PODMAN_SOCK=/run/user/${UID}/podman/podman.sock" >> $GITHUB_ENV
85
+ echo "DOCKER_HOST=unix:///run/user/${UID}/podman/podman.sock" >> $GITHUB_ENV
77
86
- name : Build and publish skupper-router arm64 image
78
87
run : |
79
88
export VERSION="${{ env.CONTAINER_TAG }}"
@@ -104,24 +113,13 @@ jobs:
104
113
- uses : actions/checkout@v4
105
114
- name : Install podman
106
115
run : |
107
- sudo mkdir -p /etc/apt/keyrings
108
- curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/Release.key \
109
- | gpg --dearmor \
110
- | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
111
- echo \
112
- "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg]\
113
- https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/ /" \
114
- | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
115
- sudo apt-get update -qq
116
- sudo apt-get -qq -y install podman
117
- podman version
118
-
119
- # temporary fix for https://github.com/containers/podman/issues/21024
120
- wget https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/amd64/conmon_2.1.2~0_amd64.deb -O /tmp/conmon_2.1.2.deb
121
- sudo apt install /tmp/conmon_2.1.2.deb
122
-
123
- # Starting systemd user service
124
- systemctl --user start podman.socket
116
+ sudo apt-get update -qq
117
+ sudo apt-get -qq -y install podman
118
+ podman version
119
+ # Starting systemd user service
120
+ systemctl --user start podman.socket
121
+ echo "PODMAN_SOCK=/run/user/${UID}/podman/podman.sock" >> $GITHUB_ENV
122
+ echo "DOCKER_HOST=unix:///run/user/${UID}/podman/podman.sock" >> $GITHUB_ENV
125
123
126
124
- name : Get the tag name and set it as the CONTAINER_TAG env variable.
127
125
run : |
0 commit comments