Skip to content

Commit c9b1029

Browse files
committed
added build workflow
1 parent 19e5267 commit c9b1029

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and push Docker images
2+
on:
3+
push:
4+
branches:
5+
- release
6+
jobs:
7+
deploy:
8+
runs-on: alpine-latest
9+
steps:
10+
- name: Login to GitHub Container Registry
11+
uses: docker/login-action@v3
12+
with:
13+
registry: ghcr.io
14+
username: ${{ github.repository_owner }}
15+
password: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Build
17+
uses: docker/build-push-action@v5.3.0
18+
with:
19+
push: true
20+
tags: ghcr.io/zphrs/ucsc-menu

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/target
22
/.vscode
33
install
4-
.github
4+
secrets

0 commit comments

Comments
 (0)