Skip to content

Commit

Permalink
added build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zphrs committed May 9, 2024
1 parent 19e5267 commit c9b1029
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and push Docker images
on:
push:
branches:
- release
jobs:
deploy:
runs-on: alpine-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v5.3.0
with:
push: true
tags: ghcr.io/zphrs/ucsc-menu
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
/.vscode
install
.github
secrets

0 comments on commit c9b1029

Please sign in to comment.