Skip to content

Remove unwanted leading period in override_extensions (#14) #14

Remove unwanted leading period in override_extensions (#14)

Remove unwanted leading period in override_extensions (#14) #14

Workflow file for this run

name: Container
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-docker:
runs-on: ubuntu-latest
name: Docker
permissions:
contents: read
packages: write
outputs:
digest: ${{ steps.build-and-push.outputs.digest }}
steps:
- name: Checkout branch
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Login into GHCR
if: github.ref_name == 'main'
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
id: meta
with:
images: |
ghcr.io/${{ github.repository }}
tags: | # no explicit versioning, always overwrite latest
type=raw,value=latest,enable=true
- name: Build and push
id: build-and-push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
push: ${{ github.ref_name == 'main' }}
file: Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}