Remove manual registry auth from build workflow
Build and deploy Backend / build (push) Failing after 17m1s
Build and deploy Backend / build (push) Failing after 17m1s
This commit is contained in:
@@ -15,13 +15,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Gitea registry auth
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -p ~/.docker
|
||||
auth="$(printf '%s:%s' "${{ secrets.REGISTRY_USERNAME }}" "${{ secrets.REGISTRY_TOKEN }}" | base64 | tr -d '\n')"
|
||||
printf '{"auths":{"gitea.dsrptlab.com":{"auth":"%s"}}}\n' "$auth" > ~/.docker/config.json
|
||||
|
||||
- name: Build and push image
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
Reference in New Issue
Block a user