Skip to content

Commit

Permalink
build(docker): update docker image names and add username prefix
Browse files Browse the repository at this point in the history
- Add 'alexbob' prefix to docker image names in build.gradle
- Update Dockerfile base images to use 'alexbob' prefix
- Modify GitHub Actions workflow to use updated image names
  • Loading branch information
vnobo committed Dec 14, 2024
1 parent 2292c8b commit a22f4b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: |
while IFS= read -r tag; do
echo "Tagging image $tag"
docker tag plate-platform "$tag"
docker tag alexbob/plate-platform "$tag"
done <<< "${{ steps.meta.outputs.tags }}"
- name: Push docker platform image to DockerHub
run: |
Expand All @@ -110,7 +110,7 @@ jobs:
run: |
while IFS= read -r tag; do
echo "Tagging image $tag"
docker tag plate-oauth2 $tag
docker tag alexbob/plate-oauth2 $tag
done <<< "${{ steps.oauth2.outputs.tags }}"
- name: Push docker oauth2 image to DockerHub
run: |
Expand Down
2 changes: 1 addition & 1 deletion boot/oauth2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM plate-oauth2:latest
FROM alexbob/plate-oauth2:latest
2 changes: 1 addition & 1 deletion boot/platform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM plate-platform:latest
FROM alexbob/plate-platform:latest
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ configure(subprojects - project(":boot")) { project ->

tasks.named("bootBuildImage") {
createdDate = "now"
imageName = "${rootProject.name}-${project.name}"
imageName = "alexbob/${rootProject.name}-${project.name}"
environment = [
"BPE_DELIM_JAVA_TOOL_OPTIONS" : " ",
"BPE_APPEND_JAVA_TOOL_OPTIONS": "-Dfile.encoding=UTF-8 " +
Expand Down

0 comments on commit a22f4b5

Please sign in to comment.