Skip to content

Publish v1.0.1

Publish v1.0.1 #30

Workflow file for this run

name: API
run-name: ${{ github.ref_type == 'tag' && 'Publish' || 'Build' }} ${{ github.ref_type == 'tag' && github.ref_name || 'API' }}
on:
push:
branches: '*'
tags:
- v*
- api-*
paths:
- .github/workflows/*
- api/**
permissions:
contents: read
packages: write
jobs:
tests:
uses: ./.github/workflows/tests.yml
with:
directory: api
publish:
if: ${{ github.ref_type == 'tag' }}
needs: tests
uses: ./.github/workflows/publish.yml
with:
directory: api
imageName: ghcr.io/aldahick/rex-api