Skip to content

Commit

Permalink
Adding authentication to GHCR feed
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Jul 9, 2024
1 parent 345e57d commit 90ec88f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ resource "octopusdeploy_feed" "ghcr" {
name = "GitHub Container Registry Feed TF"
feed_type = "Docker"
feed_uri = "https://ghcr.io"
username = var.octopus_feed_ghcr_username
password = var.octopus_feed_ghcr_password
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,13 @@ variable "octopus_feed_dockerhub_username" {
variable "octopus_feed_dockerhub_password" {
type = string
sensitive = true
}

variable "octopus_feed_ghcr_username" {
type = string
}

variable "octpopus_feed_ghcr_password" {
type = string
sensitive = true
}

0 comments on commit 90ec88f

Please sign in to comment.