Skip to content

Commit 2a239ef

Browse files
committed
Update perfecto-action to v2
1 parent fb2ac77 commit 2a239ef

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,15 @@ jobs:
8181
- name: Code checkout
8282
uses: actions/checkout@v3
8383

84-
- name: Login to DockerHub
85-
uses: docker/login-action@v2
86-
env:
87-
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
88-
if: ${{ env.DOCKERHUB_USERNAME != '' }}
84+
- name: Login to GitHub Container Registry
85+
uses: docker/login-action@v1
8986
with:
90-
username: ${{ secrets.DOCKERHUB_USERNAME }}
91-
password: ${{ secrets.DOCKERHUB_TOKEN }}
87+
registry: ghcr.io
88+
username: ${{ github.actor }}
89+
password: ${{ secrets.GITHUB_TOKEN }}
9290

9391
- name: Check specs with Perfecto
94-
uses: essentialkaos/perfecto-action@v1
92+
uses: essentialkaos/perfecto-action@v2
9593
with:
9694
files: common/sslcli.spec
9795

0 commit comments

Comments
 (0)