Compare commits
1 commit
main
...
feat/ci-bu
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e75a82416 |
1 changed files with 19 additions and 0 deletions
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
|
||||||
Loading…
Add table
Reference in a new issue