fix:
Some checks failed
Build and Deploy Docker Image / build (push) Has been cancelled

This commit is contained in:
Mike 2024-10-21 13:20:17 -04:00
parent 8c06947ebe
commit be272c4fd3

View file

@ -14,10 +14,14 @@ jobs:
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.GITEA_PASSWORD }}" | docker login ${{ secrets.GITEA_REGISTRY }} -u ${{ secrets.GITEA_USERNAME }} --password-stdin
uses: docker/login-action@v1
with:
password: ${{ secrets.GITEA_PASSWORD }}
username: ${{ secrets.GITEA_USERNAME }}
registry: ${{ secrets.GITEA_REGISTRY }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
@ -26,5 +30,3 @@ jobs:
push: true
tags: ${{ secrets.GITEA_REGISTRY }}/smig/dotechbro-website:latest
- name: Log out from Gitea Container Registry
run: docker logout ${{ secrets.GITEA_REGISTRY }}