chore: _
Some checks failed
Build and Deploy / build-and-push (push) Failing after 0s

This commit is contained in:
2025-02-06 20:26:37 +06:00
parent 5a6a8af568
commit 2aca905488

View File

@@ -8,20 +8,25 @@ jobs:
build-and-push: build-and-push:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
- uses: actions/checkout@v4
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: Docker login - name: Docker login
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ${{ vars.REGISTRY_URL }} registry: ${{ vars.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }} username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }} password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
context: . context: .
file: ./Dockerfile
push: true push: true
tags: | tags: |
${{ vars.REGISTRY_URL }}/${{ vars.GITEA_REPOSITORY }}:${{ github.sha }} ${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:${{ github.sha }}
${{ vars.REGISTRY_URL }}/${{ vars.GITEA_REPOSITORY }}:latest ${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:latest