Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ task default: %i[rubocop spec integration]
desc 'Build the ONA development container with podman'
task :build_onadev_container do
unless system('podman image exists localhost/ona-dev:latest')
`podman login docker.io`
system('podman login docker.io')
`git clone https://github.com/opennetadmin/ona onadev`
`podman build --build-arg UBUNTU_VERSION=24.04 -t ona-dev:latest onadev`
`rm -rf onadev`
Expand All @@ -23,7 +23,7 @@ end

desc 'Publish ONA development container to ghcr.io'
task publish_onadev_container_to_ghcr: :build_onadev_container do
`podman login ghcr.io`
system('podman login ghcr.io')
`podman image push localhost/ona-dev:latest docker://ghcr.io/gsi-hpc/ona-dev:latest`
end

Expand Down