Skip to content

Merge pull request #60 from finfet-sh/bug/sp-fix-local-files-track-url #50

Merge pull request #60 from finfet-sh/bug/sp-fix-local-files-track-url

Merge pull request #60 from finfet-sh/bug/sp-fix-local-files-track-url #50

Workflow file for this run

name: Build
on:
push:
branches:
- main
release:
types:
- published
jobs:
build-and-deploy:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/piper
flavor: |
latest=false
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=semver,pattern={{version}}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}