This commit is contained in:
parent
856b71e3fc
commit
2cd09fdfb3
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@ jobs:
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
echo "https://github:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut -b 9-)" > ~/.git-credentials
|
echo "https://runner:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut -b 9-)" > ~/.git-credentials
|
||||||
git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}
|
git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}
|
||||||
-
|
-
|
||||||
name: Authenticate with registry
|
name: Authenticate with registry
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.REGISTRY_TOKEN }}" | buildah login ${{ env.REGISTRY }} --username "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
echo "${{ secrets.REGISTRY_TOKEN }}" | buildah login ${{ env.REGISTRY }} --username runner --password-stdin
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue