Skip to content

Commit ed6ef4f

Browse files
committed
build: Fix credential prompts
1 parent a0a160a commit ed6ef4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ task default: %i[rubocop spec integration]
1414
desc 'Build the ONA development container with podman'
1515
task :build_onadev_container do
1616
unless system('podman image exists localhost/ona-dev:latest')
17-
`podman login docker.io`
17+
system('podman login docker.io')
1818
`git clone https://github.com/opennetadmin/ona onadev`
1919
`podman build --build-arg UBUNTU_VERSION=24.04 -t ona-dev:latest onadev`
2020
`rm -rf onadev`
@@ -23,7 +23,7 @@ end
2323

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

0 commit comments

Comments
 (0)