Skip to content

Build docker image

Build docker image #6

Workflow file for this run

---
name: Build docker image
on:
create:
tags: ["v*"]
jobs:
docker:
runs-on: ubuntu-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: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/senges/tovald:${{ github.ref_name }}