login using action

This commit is contained in:
2026-05-11 13:21:19 -05:00
parent bb0d120177
commit 1d0fe50d46

View File

@@ -18,12 +18,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Login to Registry - name: Log in to Gitea Container Registry
run: | uses: docker/login-action@v3
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login \ with:
${{ secrets.REGISTRY_HOST }} \ registry: ${{ github.server_url }}
-u "${{ secrets.REGISTRY_USERNAME }}" \ username: ${{ secrets.CI_USER }}
--password-stdin password: ${{ secrets.CI_PASSWORD }}
- name: Make build script executable - name: Make build script executable
run: chmod +x build-and-copy.sh run: chmod +x build-and-copy.sh