Skip to content

Commit

Permalink
⚙️ chore(.github/workflows/gradle-build.yml): Update Docker image p…
Browse files Browse the repository at this point in the history
…ush commands to use GitHub and Docker registries.
  • Loading branch information
vnobo committed Dec 13, 2024
1 parent 2918dab commit 5e2714d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
docker tag plate-platform "$tag"
done <<< "${{ steps.meta.outputs.tags }}"
- name: Push docker platform image to DockerHub
run: docker push ${{ steps.meta.outputs.tags }}
run: |
docker push ${{ env.GITHUB_REGISTRY }}/plate-platform
docker push ${{ env.DOCKER_REGISTRY }}/plate-platform
- name: Extract oauth2 metadata (tags, labels) for Docker
id: oauth2
Expand All @@ -103,5 +105,7 @@ jobs:
docker tag plate-oauth2 $tag
done <<< "${{ steps.oauth2.outputs.tags }}"
- name: Push docker oauth2 image to DockerHub
run: docker push ${{ steps.oauth2.outputs.tags }}
run: |
docker push --all-tags ${{ env.GITHUB_REGISTRY }}/plate-oauth2
docker push --all-tags ${{ env.DOCKER_REGISTRY }}/plate-oauth2

0 comments on commit 5e2714d

Please sign in to comment.