Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 38s
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 38s
This commit is contained in:
@@ -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 }}."
|
||||
|
||||
Reference in New Issue
Block a user