use action instead
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m57s
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m57s
This commit is contained in:
@ -35,8 +35,11 @@ jobs:
|
||||
tags: ${{ secrets.DOCKER_USERNAME }}/cal_heatmap:latest
|
||||
|
||||
- name: Log in to Gitea Docker Registry
|
||||
run: |
|
||||
echo ${{ secrets.REPO_GITEA_TOKEN }} | docker login ${{ env.GITEA_SERVER }} -u ${{ secrets.GITEA_USERNAME }} --password-stdin
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
password: ${{ secrets.REPO_GITEA_TOKEN }}
|
||||
registry: ${{ env.GITEA_SERVER }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
@ -45,4 +48,4 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.GITEA_SERVER }}/{{ secrets.GITEA_USERNAME }}/cal_heatmap:latest
|
||||
${{ env.GITEA_SERVER }}/${{ secrets.GITEA_USERNAME }}/cal_heatmap:latest
|
||||
|
Reference in New Issue
Block a user