Compare commits

7 Commits

Author SHA1 Message Date
crutoboy
0b728380f4 test_ci_cd
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2026-05-24 18:58:51 +00:00
crutoboy
89770ee0bb test_ci_cd
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Build and Push Docker Image / build-and-push (push) Failing after 1m40s
2026-05-24 17:07:51 +00:00
crutoboy
6facedb04f test_ci_cd
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 49s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2026-05-22 10:23:26 +00:00
crutoboy
d0c7b77387 tes
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2026-05-22 10:19:51 +00:00
crutoboy
155dd7e62e test_ci_cd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2026-05-22 10:16:46 +00:00
crutoboy
1cb58f18b5 test
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
2026-05-22 10:12:20 +00:00
crutoboy
92eb62e963 test ci cd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
2026-05-22 10:08:36 +00:00
2 changed files with 21 additions and 8 deletions

View File

@@ -1,9 +1,11 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
# on:
# push:
# branches:
# - main
on: [push]
jobs:
build-and-push:
@@ -19,7 +21,7 @@ jobs:
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ gitea.hostname }} # автоматически подставляется Gitea
registry: git.crutoboy.ru # автоматически подставляется Gitea
username: ${{ gitea.actor }}
password: ${{ secrets.GITEATOKEN }}
@@ -27,7 +29,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ gitea.hostname }}/${{ gitea.repository }}
images: git.crutoboy.ru/${{ gitea.repository }}
tags: |
type=sha
type=raw,value=latest
@@ -40,5 +42,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# cache-from: type=gha
# cache-to: type=gha,mode=max

View File

@@ -0,0 +1,11 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "${{ gitea.server_url }}"
- name: Dump Gitea context
run: echo "${{ toJSON(gitea) }}"