Skip to content

v0.146.1 update

v0.146.1 update #33

Workflow file for this run

name: build_image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Define variable
id: define_version
run: echo "::set-output name=ver::$(cat VERSION)"
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ steps.define_version.outputs.ver }}
ghcr.io/${{ github.repository }}:latest