Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 38s

This commit is contained in:
2025-11-22 20:37:29 +03:00
parent 87fc6e1eca
commit 6ba07470c5
2 changed files with 17 additions and 16 deletions

View File

@@ -32,23 +32,23 @@ jobs:
mkdir bin
go build -o ./bin/metrics ./cmd
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Log in to container registry
# uses: docker/login-action@v3
# with:
# registry: sirius.klsh.ru
# username: ${{ secrets.DOCKER_USER }}
# password: ${{ secrets.DOCKER_SECRET }}
- name: Log in to container registry
uses: docker/login-action@v3
with:
registry: sirius.klsh.ru
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_SECRET }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# push: true
# tags: sirius.klsh.ru/${{ gitea.repository_owner }}/test-app:latest
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: sirius.klsh.ru/${{ gitea.repository_owner }}/test-app:latest
- name: Job status
run: echo "This job's status is ${{ job.status }}."