Skip to content

Commit

Permalink
switch to docker hub as a registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Walid Lezzar committed Mar 10, 2020
1 parent 2986662 commit 6c12c0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:

- name: publish zoe images
run: |
./gradlew zoe-core:jib -Djib.to.auth.username=${{ github.actor }} -Djib.to.auth.password="${{ secrets.GITHUB_TOKEN }}"
./gradlew zoe-cli:jib -Djib.to.auth.username=${{ github.actor }} -Djib.to.auth.password="${{ secrets.GITHUB_TOKEN }}"
./gradlew zoe-core:jib -Djib.to.auth.username=${{ secrets.DOCKER_REGISTRY_USERNAME }} -Djib.to.auth.password="${{ secrets.DOCKER_REGISTRY_ACCESS_TOKEN }}"
./gradlew zoe-cli:jib -Djib.to.auth.username=${{ secrets.DOCKER_REGISTRY_USERNAME }} -Djib.to.auth.password="${{ secrets.DOCKER_REGISTRY_ACCESS_TOKEN }}"
2 changes: 1 addition & 1 deletion zoe-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jib {
}

to {
image = "docker.pkg.github.com/adevinta/zoe/zoe-cli"
image = "adevinta/zoe-cli"
tags = setOf(project.version.toString(), "latest")
}

Expand Down
2 changes: 1 addition & 1 deletion zoe-cli/src/config/config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ data class KubernetesRunnerConfig(

data class DockerImageConfig(
val registry: String = "docker.pkg.github.com",
val image: String = "adevinta/zoe/zoe-core",
val image: String = "adevinta/zoe-core",
val tag: String? = null
)

Expand Down
2 changes: 1 addition & 1 deletion zoe-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sourceSets {
jib {

to {
image = "docker.pkg.github.com/adevinta/zoe/zoe-core"
image = "adevinta/zoe-core"
tags = setOf(project.version.toString(), "latest")
}

Expand Down

0 comments on commit 6c12c0f

Please sign in to comment.