Skip to content

Update bftools to 7.0 #24

Update bftools to 7.0

Update bftools to 7.0 #24

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
paths:
- "Dockerfile"
- "requirements.txt"
- ".github/workflows/ci.yml"
env:
REGISTRY: ghcr.io
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
defaults:
run:
working-directory: "."
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3
- name: Login to GitHub Container Registry (GHCR)
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: metadata
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=sha
latest
- name: Build and push to GHCR
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}