summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTulip Blossom <tulilirockz@outlook.com>2025-01-08 21:15:48 -0300
committerGitHub <noreply@github.com>2025-01-08 19:15:48 -0500
commitbc92a516af548351c038f10a6a4574740badfcd4 (patch)
treedf05b0014fde609e4995103c28f4174ee1a0e568
parent93299922c7ff6ad495b9586e2d11499a1d122704 (diff)
downloadAeroCore-OS-bc92a516af548351c038f10a6a4574740badfcd4.tar.gz
AeroCore-OS-bc92a516af548351c038f10a6a4574740badfcd4.zip
feat: (re)add registry login to push to GHCR (#53)
-rw-r--r--.github/workflows/build.yml5
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