diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5a887d5 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/.gitignore b/.gitignore index bd7d472..307add8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /target /.vscode install -.github \ No newline at end of file +secrets \ No newline at end of file