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:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: golang-1.25.4
|
runs-on: golang
|
||||||
steps:
|
steps:
|
||||||
- name: Job start
|
- name: Job start
|
||||||
run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
@@ -32,23 +32,23 @@ jobs:
|
|||||||
mkdir bin
|
mkdir bin
|
||||||
go build -o ./bin/metrics ./cmd
|
go build -o ./bin/metrics ./cmd
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
# - name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to container registry
|
# - name: Log in to container registry
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: sirius.klsh.ru
|
# registry: sirius.klsh.ru
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
# username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_SECRET }}
|
# password: ${{ secrets.DOCKER_SECRET }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
# - name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
file: ./Dockerfile
|
# file: ./Dockerfile
|
||||||
push: true
|
# push: true
|
||||||
tags: sirius.klsh.ru/${{ gitea.repository_owner }}/test-app:latest
|
# tags: sirius.klsh.ru/${{ gitea.repository_owner }}/test-app:latest
|
||||||
|
|
||||||
- name: Job status
|
- name: Job status
|
||||||
run: echo "This job's status is ${{ job.status }}."
|
run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user