Skip to content

Apply suggestions from code review #15560

Apply suggestions from code review

Apply suggestions from code review #15560

Workflow file for this run

name: Docker Image CI
on:
push:
branches-ignore:
- renovate/**
- dependabot/**
tags:
- '*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
uses: ./.github/workflows/container-ci.yml
secrets:
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
permissions:
security-events: write
packages: write
contents: read
with:
variant: stable
release_github:
runs-on: ubuntu-24.04
name: Create release on GitHub
permissions:
contents: write
needs:
- ci
if: ${{ startsWith(github.ref, 'refs/tags/') && github.repository == 'WeblateOrg/docker' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- env:
VERSION: ${{ github.ref_name }}
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$VERSION" --verify-tag --generate-notes