testing out profile-scope variables & secrets
Some checks failed
Build and Push Docker Image / build (push) Failing after 20s

This commit is contained in:
Nikola Derežić
2026-01-09 13:09:59 +01:00
parent 0a8348458b
commit 1c62f8dbf7

View File

@@ -33,7 +33,7 @@ jobs:
# - `vars.REGISTRY_USERNAME` - defined as action variable in repo settings # - `vars.REGISTRY_USERNAME` - defined as action variable in repo settings
# - `secrets.REGISTRY_TOKEN` - defined as action secret in repo settings, created in user settings as personal access token with `write:packages` scope # - `secrets.REGISTRY_TOKEN` - defined as action secret in repo settings, created in user settings as personal access token with `write:packages` scope
run: | run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login registry.budakova.org -u "${{ vars.REGISTRY_USERNAME }}" --password-stdin echo "${{ secrets.PROFILE_REGISTRY_TOKEN }}" | docker login registry.budakova.org -u "${{ vars.PROFILE_REGISTRY_USERNAME }}" --password-stdin
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5