Compare commits
8 Commits
946179f347
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f8bbcd5828 | |||
| a9274f5e8a | |||
| 02a7c28b3f | |||
| 64baa520a5 | |||
| 32e293d724 | |||
| 8d5c426a2d | |||
| 7e4899090a | |||
| cf682abd34 |
32
.gitea/workflows/build.yml
Normal file
32
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Push to github container register
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
push-docker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.neody.ad.jp
|
||||
username: tuna2134
|
||||
password: ${{ secrets.GIT_PASSWORD }}
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
git.neody.ad.jp/neodyland/tksm-ndy-mc-proj-web
|
||||
file: caddy/Dockerfile
|
||||
Reference in New Issue
Block a user