This commit is contained in:
부모
bfa57e3fc8
커밋
4e75a82416
1개의 변경된 파일과 19개의 추가작업 그리고 0개의 파일을 삭제
19
.forgejo/workflows/build.yaml
Normal file
19
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Docker Login
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.interhacker.space -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
|
- name: Build Docker Image
|
||||||
|
run: |
|
||||||
|
docker build -t git.interhacker.space/interhack/camp-website-2026:latest .
|
||||||
|
|
||||||
|
- name: Push Docker Image
|
||||||
|
run: |
|
||||||
|
docker push git.interhacker.space/interhack/camp-website-2026:latest
|
||||||
불러오는 중…
테이블 추가
Add a link
Reference in a new issue