Skip to content

Commit

Permalink
Create build-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jekabs-karklins authored Dec 1, 2022
1 parent 5048ae3 commit 55318ea
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build release

on:
release:
types:
- created

jobs:
test:
name: Build release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/scicatproject/landingpageserver:${{ github.event.release.tag_name }}

0 comments on commit 55318ea

Please sign in to comment.