Skip to content

pick new workflows into 3.x branch #1

pick new workflows into 3.x branch

pick new workflows into 3.x branch #1

Workflow file for this run

name: Tags
on:
workflow_dispatch:
push:
tags:
- '*.*.*'
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
id: meta
with:
images: |
ghcr.io/cbackas/tvbot
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.github_token }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: build and push
uses: docker/build-push-action@v6
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
deploy:
needs: build_and_push
uses: ./.github/workflows/fly-deploy.yml