Update actions
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 7s
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 7s
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: golang-1.25.4
|
||||
runs-on: golang
|
||||
steps:
|
||||
- name: Job start
|
||||
run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
@@ -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