Compare commits
2 Commits
7f6e6369ff
...
d62c0ad501
| Author | SHA1 | Date | |
|---|---|---|---|
| d62c0ad501 | |||
| cf2f1bc7f3 |
@@ -0,0 +1,31 @@
|
|||||||
|
name: Build and push
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Login to Gitea registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: docker.allmy.work
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
docker.allmy.work/${{ gitea.repository }}:latest
|
||||||
|
docker.allmy.work/${{ gitea.repository }}:${{ gitea.sha }}
|
||||||
|
cache-from: type=registry,ref=docker.allmy.work/${{ gitea.repository }}:buildcache
|
||||||
|
cache-to: type=registry,ref=docker.allmy.work/${{ gitea.repository }}:buildcache,mode=max
|
||||||
@@ -55,6 +55,7 @@ next-env.d.ts
|
|||||||
!/.gitattributes
|
!/.gitattributes
|
||||||
!/.gitignore
|
!/.gitignore
|
||||||
!/.dockerignore
|
!/.dockerignore
|
||||||
|
!/.gitea
|
||||||
!/biome.json
|
!/biome.json
|
||||||
|
|
||||||
*storybook.log
|
*storybook.log
|
||||||
|
|||||||
Reference in New Issue
Block a user