ci(#3): 💄 Fix registry login
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 51s
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 51s
This commit is contained in:
parent
721cc90331
commit
71b6810ae7
1 changed files with 1 additions and 1 deletions
|
@ -17,10 +17,10 @@ jobs:
|
|||
- name: Build and Push Docker Image
|
||||
run: |
|
||||
docker build -t loic:${{ github.sha }} .
|
||||
echo "$FORGEJO_API_TOKEN" | docker login -u {{ .Identity }} --password-stdin ${{ env.FORGEJO_BASE_URL }}
|
||||
docker tag loic:${{ github.sha }} ${{ env.FORGEJO_BASE_URL }}/{{ .Identity }}/loic:${{ github.sha }}
|
||||
docker login -u {{ .Identity }} --password-stdin ${{ secret.PASSWORD }}
|
||||
docker push ${{ env.FORGEJO_BASE_URL }}/{{ .Identity }}/loic:${{ github.sha }}
|
||||
|
||||
# - name: Update Deployment Manifest
|
||||
# run: |
|
||||
# sed -i "s|image: .*|image: ${{ env.FORGEJO_BASE_URL }}/{{ .Identity }}/loic:${{ github.sha }}|" k8s/deployment.yaml
|
||||
|
|
Loading…
Reference in a new issue