Skip to content

refactor(comments): allow for variable comment depth #11

refactor(comments): allow for variable comment depth

refactor(comments): allow for variable comment depth #11

Workflow file for this run

---
name: Publish zweizs/hnfeed
'on':
push:
branches:
- 'master'
paths-ignore:
- '**/README.md'
- '**/LICENSE'
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: zweizs/hnfeed
tags: |
type=match,pattern=v(\d+.\d+.\d+-\d+),group=1
type=match,pattern=v(\d+.\d+.\d+),group=1
type=match,pattern=v(\d+.\d+),group=1
type=raw,value={{date 'YYYYMMDD'}}
type=raw,latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}