Skip to content

Add fetch-tags to checkout #17

Add fetch-tags to checkout

Add fetch-tags to checkout #17

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- 0.**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- 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