Skip to content

1.1.0

1.1.0 #2

Workflow file for this run

name: Build
on:
release:
types: [created]
env:
IMAGE_BASE: ${{ github.repository_owner }}/${{ github.event.repository.name }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login
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
with:
context: .
file: Dockerfile
tags: |
ghcr.io/${{ env.IMAGE_BASE }}:latest
ghcr.io/${{ env.IMAGE_BASE }}:${{ github.event.release.tag_name }}
push: true