Skip to content

Update github actions for tagging #15

Update github actions for tagging

Update github actions for tagging #15

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- '*'
branches:
- main
if: "startsWith(github.ref, 'refs/tags/')"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build the Docker image
run: make docker
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Docker image
run: |
make publish