diff options
| author | Tulip Blossom <tulilirockz@outlook.com> | 2025-01-08 21:15:48 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 19:15:48 -0500 |
| commit | 91d82ba7ed11e9333135683088233b85c5825cb1 (patch) | |
| tree | df05b0014fde609e4995103c28f4174ee1a0e568 /.github/workflows | |
| parent | fdb05d7df8058a6db4cb1032be52242cc5a15f48 (diff) | |
| download | AeroCore-OS-91d82ba7ed11e9333135683088233b85c5825cb1.tar.gz AeroCore-OS-91d82ba7ed11e9333135683088233b85c5825cb1.zip | |
feat: (re)add registry login to push to GHCR (#53)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85eaf26..1fcf523 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,10 +137,15 @@ jobs: uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2 if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) id: push + env: + REGISTRY_USER: ${{ github.actor }} + REGISTRY_PASSWORD: ${{ github.token }} with: registry: ${{ env.IMAGE_REGISTRY }} image: ${{ env.IMAGE_NAME }} tags: ${{ steps.metadata.outputs.tags }} + username: ${{ env.REGISTRY_USER }} + password: ${{ env.REGISTRY_PASSWORD }} # This section is optional and only needs to be enabled if you plan on distributing # your project for others to consume. You will need to create a public and private key |
