From 6ba07470c586d4b6bf1fb1777e38c9283c490b31 Mon Sep 17 00:00:00 2001 From: Alex Matsuev Date: Sat, 22 Nov 2025 20:37:29 +0300 Subject: [PATCH] Update actions --- .gitea/workflows/demo.yaml | 30 +++++++++++++++--------------- .gitignore | 3 ++- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 2debed9..fd7ddde 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 }}." diff --git a/.gitignore b/.gitignore index ff84dbb..b4b77de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ bin -.env \ No newline at end of file +.env +runner.Dockerfile