trivial: login to gch registry separately

This commit is contained in:
Mario Limonciello 2022-06-26 20:30:52 -05:00
parent 2ca843b75c
commit 95eab5b7de

View File

@ -23,11 +23,15 @@ jobs:
env: env:
OS: ${{ matrix.os }} OS: ${{ matrix.os }}
run: ./contrib/ci/generate_docker.py run: ./contrib/ci/generate_docker.py
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Packages - name: Push to GitHub Packages
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
username: ${{ github.actor }} context: .
password: ${{ secrets.GITHUB_TOKEN }} push: true
registry: docker.pkg.github.com tags: fwupd/fwupd/fwupd-${{matrix.os}}:latest
repository: fwupd/fwupd/fwupd-${{matrix.os}}
tags: latest