Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Fix portus:update_tags task.
Browse files Browse the repository at this point in the history
The task did not work, since it tried to get the manifest from the
repository name without the namespace.

Signed-off-by: Francois Ferrand <[email protected]>
  • Loading branch information
francoisferrand authored and Francois Ferrand committed Oct 7, 2016
1 parent 6f1308b commit 005ec65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/portus.rake
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ HERE
puts "[#{index + 1}/#{tags.size}] Updating #{repo_name}/#{t.name}"

begin
id, digest, = client.manifest(t.repository.name, t.name)
id, digest, = client.manifest(t.repository.full_name, t.name)
t.update_attributes(digest: digest, image_id: id)
rescue StandardError => e
puts "Could not get the manifest for #{repo_name}: #{e.message}"
Expand Down

0 comments on commit 005ec65

Please sign in to comment.