File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,17 @@ jobs:
53
53
uses : docker/setup-qemu-action@v3
54
54
- name : Set up Docker Buildx
55
55
uses : docker/setup-buildx-action@v3
56
- - name : Login to DockerHub
56
+ - name : Login to Docker Hub
57
57
uses : docker/login-action@v3
58
58
with :
59
59
username : ${{ secrets.DOCKER_HUB_USERNAME }}
60
60
password : ${{ secrets.DOCKER_HUB_PASSWORD }}
61
+ - name : Login to GitHub Container Registry
62
+ uses : docker/login-action@v3
63
+ with :
64
+ registry : ghcr.io
65
+ username : ${{ github.repository_owner }}
66
+ password : ${{ secrets.GITHUB_TOKEN }}
61
67
- name : Build & Push Docker image
62
68
uses : docker/build-push-action@v5
63
69
with :
67
73
tags : |
68
74
openapitools/openapi-diff:${{ github.event.inputs.releaseVersion }}
69
75
openapitools/openapi-diff:latest
76
+ ghcr.io/openapitools/openapi-diff:${{ github.event.inputs.releaseVersion }}
77
+ ghcr.io/openapitools/openapi-diff:latest
You can’t perform that action at this time.
0 commit comments