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
|
tags: ${{ secrets.DOCKER_USERNAME }}/cal_heatmap:latest
|
||||||
|
|
||||||
- name: Log in to Gitea Docker Registry
|
- name: Log in to Gitea Docker Registry
|
||||||
run: |
|
uses: docker/login-action@v1
|
||||||
echo ${{ secrets.REPO_GITEA_TOKEN }} | docker login ${{ env.GITEA_SERVER }} -u ${{ secrets.GITEA_USERNAME }} --password-stdin
|
with:
|
||||||
|
username: ${{ secrets.GITEA_USERNAME }}
|
||||||
|
password: ${{ secrets.REPO_GITEA_TOKEN }}
|
||||||
|
registry: ${{ env.GITEA_SERVER }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
@ -45,4 +48,4 @@ jobs:
|
|||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
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