Skip to content

Commit 7ddfdba

Browse files
committed
fix: Docker registry login step in CI workflow
1 parent 22347f7 commit 7ddfdba

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,8 @@ jobs:
8787
- name: Checkout repository
8888
uses: actions/checkout@v4
8989

90-
- name: Log in to the Container registry
91-
uses: docker/login-action@v3
92-
with:
93-
registry: ${{ env.REGISTRY }}
94-
username: ${{ secrets.COBROWSER_PACKAGE_USER }}
95-
password: ${{ secrets.COBROWSER_PACKAGE_TOKEN }}
90+
- name: Log in to registry
91+
run: echo "${{ secrets.COBROWSER_PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ secrets.COBROWSER_PACKAGE_USER }} --password-stdin
9692

9793
- name: Extract metadata (tags, labels) for Docker
9894
id: meta

0 commit comments

Comments
 (0)