Skip to content

Commit

Permalink
Add build script for release.
Browse files Browse the repository at this point in the history
Thank you very much to @ThoFrank for these patches.
  • Loading branch information
coleifer committed Nov 22, 2024
1 parent ebd8758 commit e67e9f6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build_release_container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Release Container
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
cd docker
docker build -t ghcr.io/coleifer/sqlite-web:${{ github.ref_name }} .
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Upload versioned container to registry
run: docker push ghcr.io/coleifer/sqlite-web:${{ github.ref_name }}

0 comments on commit e67e9f6

Please sign in to comment.