ci: Try to fix ghcr.io image upload

This commit is contained in:
fox.cpp 2025-01-25 01:54:31 +03:00
parent c5c8e4b5b5
commit 5cd2356b28
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0

View file

@ -73,12 +73,14 @@ jobs:
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}
logout: false
- name: "Login to GitHub Container Registry" - name: "Login to GitHub Container Registry"
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: "ghcr.io" registry: "ghcr.io"
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
logout: false # https://news.ycombinator.com/item?id=28607735
- name: "Generate container metadata" - name: "Generate container metadata"
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
id: meta id: meta